Access Token

For using the SDK, or API, you need an access token. This can be found in your Developer Console.

To generate a Access Token, head to:

  • Home > Access Tokens
  • Press “Create Access Token”
  • Provide a name for your access token and create it.

Remember - ensure you copy the access token presented, as it will never be shown again.

Using the SDK

When using the SDK, you can pass the access token in the constructor.

import { TrustStack } from '@truststack/core';

const truststack = TrustStack.configure({ accessToken: '<access_token>' });