Skip to main content

Getting Started

Before diving into the code, let's set up your organization and conjure up an API keypair to unlock the full potential of Turnkey!

Create An Account

Navigate to the Turnkey Dashboard to create an account and setup your organization:

Create organization

Get Your Organization ID

Once logged in, open the user dropdown at the top right. Your Organization ID is listed there. Copy it for use in your code or environment variables.

Organization ID

Create an API Key

The API keypair is used to authenticate requests to Turnkey. We'll create one now.

Navigate to the User Details page.

User Details

Click "Create an API key".

Create API key

Choose a key generation method.

For this guide, we'll use the in-browser method.

Generate API key

Optionally, you may also generate keys using the Turnkey CLI.

Name your keypair

Name API key

Approve & Create

You'll be prompted to authenticate with the authenticator setup during account creation. Save the private key in a secure location — it won't be visible after this step.

Approve API key

Important: Both the public and private keys are required for signing requests to the Turnkey API. Keep these keys secure and out of reach of end-users.

API Key Created 🎉

API key created

Next Steps

Now that you've created an organization and API keypair, you're ready to start developing with Turnkey!