GuidesRecipesAPI ReferenceChangelog
Guides

Configure App

Configure the Cybrid Web SDK demo with your sandbox credentials.

Configuration options

Two ways to provide credentials to the demo app:

  1. At launch — enter your Client ID, Secret, and Customer GUID each time through the UI (see screenshot below).
  2. Preconfigured — set credentials in the environment file once.
Demo app login screen showing Client ID, Secret, and Customer GUID fields

Preconfigure the environment

Gather the following from your sandbox bank:

  • Client ID
  • Client Secret
  • Customer GUID for testing

The demo app authenticates to your Sandbox Bank under the context of a specific customer.

ℹ️

Where to find credentials

Retrieve the Client ID from the Bank page in the Cybrid Partner Portal. Find the Customer GUID on the Customers page. If you lost your Client Secret, generate a new key pair under API Keys in the portal.

Open /src/environments/environment.ts and replace the empty clientId, clientSecret, and customerGuid strings with your values.

Alternative: Use a bearer token

When entering credentials via the UI, you can use a Bearer Token instead of Client ID and Secret. Generate one with:

curl -X POST https://id.demo.cybrid.app/oauth/token \
    -d '{
    "grant_type": "client_credentials",
    "client_id": "",
    "client_secret": "",
    "scope": "banks:read banks:write accounts:read accounts:execute customers:read customers:write customers:execute prices:read quotes:execute trades:execute trades:read"
  }' \
    -H "Content-Type: application/json"