Skip to main content

Getting your API key

WorkOS issues a separate API key for each environment. The key you use decides whether StackOne works with your Staging or Production data.

1

Copy the API key

Sign in to the WorkOS Dashboard, use the environment selector to switch to Staging or Production, then select API Keys in the left-side navigation.

  • Staging: copy the API key that comes with the environment. You can view it again at any time.
  • Production: create an API key and copy it. A Production key is shown only once, when you create it, and cannot be retrieved later.
  • The key starts with sk_.
  • Paste the key into the API Key field.
  • Each environment has its own key, so link a separate account for each environment you want to connect.
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.