Skip to main content

Find your secret key

Clerk authenticates Backend API requests with your application’s secret key, which you copy from the Clerk Dashboard.

1

Select your application and environment

Sign in to your Clerk Dashboard, then choose the application and environment you want to connect.

  • If you don’t have an application yet, click + Create application on the Applications page to create one first, then select it.
  • Use Switch application at the top to select your application.
  • Use Switch environment to choose the environment you are connecting (for example Development) — the secret key differs per environment.
The Clerk Dashboard top bar with the application and environment switchers highlighted
2

Open the API keys page

In the top navigation, open Configure. Under Instance in the sidebar, select API keys.

The Configure sidebar with the API keys page highlighted under Instance
3

Create and copy a secret key

Scroll to the Secret keys section. Existing secret keys are shown masked and, unlike the Publishable key, have no copy button — so create a new key to get a value you can copy.

  • Click Add new key, enter a name in the Create secret key dialog, and click Create key.
  • Clerk shows the full key once under Secret key created successfully — click Copy to clipboard, then Copy key and close. You cannot view it again after closing the dialog.
  • The secret key starts with sk_test_ for development or sk_live_ for production.
  • Do not copy the Publishable key (pk_test_ or pk_live_) — that key is for frontend code and is not used here.
  • Secret keys grant admin-level access — keep them private and never expose them in client-side code.
  • Paste it into the Secret Key field in StackOne Hub.
The Secret keys section with the Add new key button highlighted, contrasted with the Publishable key's copy button
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.

Next Steps

Webhooks setup

Configure receiving Events for Clerk into StackOne.