Quick Links:
Both authentication methods require the State Tool CLI to be installed and your account to be authenticated with the state auth command.
If you have not authenticated using state auth, your browser will open prompting you to authorize your State Tool. If the prompt does not appear, paste the link from the state auth output into your browser and click Authorize.
After authenticating with the State Tool CLI, you can authenticate with the GraphQL console using either:
Protect your account by never sharing or publicly displaying your API key.
state export jwt
state export new-api-key <orgname/projectname>
In the “Header” section of the GraphQL console, enter your token:
{
"Authorization": "Bearer "
}