Basic setup


Now that you have all the basic information to get started, it’s time to configure your SBS account for real-world usage.

Creating applications

Let’s begin by creating a new application.

  1. In the Applications page, click New Application.

  2. Enter the name of your application, and then click Save.

    Create application dialog box

Creating tenants

Now, let’s create a new tenant.

  1. In the Tenants page, click New Tenant.

  2. Enter the name of your tenant, and click Save.

    Create tenant dialog box

Generate a service access key

Now, let’s generate a new service access key that will allow the tenant and application you created earlier to access the SBS API.

  1. In the Tenants page, select the tenant you created earlier.

  2. Click the Add Add button button in the top right corner of the service access keys table.

  3. Under Applications, select the application you created earlier.

  4. Optionally, enter a key description.

  5. Under Scope, enter the extent of permissions available to the bearer of this key. To keep things simple, let’s create the key with the full set of permissions. You can edit the key’s permissions later if necessary. This key will provide access to all queries and mutations of any SBS service. Here, the terms “queries” and “mutations” are used as in GraphQL: a query retrieves API data, while a mutation modifies API data.

    Generate Service Access Key dialog box

  6. Click Generate Service Access Key.

  7. Click View Secret Key and copy the secret key.

    Generate Service Access Key dialog box

You can now use the secret key in your server applications to call any SBS service, as you will see in the next section of this tutorial.