Obtaining a Stringtale API key
In this guide we’ll go through the steps to obtain a Stringtale token. This token is used to authenticate your requests to the Stringtale API. Stringtale API key can be either read-only or have read and write permissions. Read-only keys are used to pull in changes from Stringtale, for example using the CLI or the GitHub action, while keys with write permissions are used to store changes in Stringtale. Write keys are typically only used when Stringtale is deployed to a test / preview environment.
Creating a token
- Go to the Stringtale Dashboard.
- Go to Projects
- Open the project (or click on Edit project settings) you want to deploy to your test / preview environment.
- Scroll down to
Tokens
- Click on
Add Token
and create a new token - Implement the token where it’s required.
- If required, enable the ‘Can write’ permission for the newly created token bychecking the checkbox for ‘Can write’. This will allow the token to be used to edit text.