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

Let’s now 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

Let’s now generate a new service access key that will allow the tenant and application created previously to access the SBS API.

  1. In the Tenants page, select the tenant created previously.

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

  3. Under Applications, select the application created previously.

  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 of any SBS service, and to all mutations of any SBS service. Here, the terms “queries” and “mutations” are as they are understood in GraphQL. Namely, 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 next in this tutorial.