How to create an API key credential for Daytona

1 min read

In this guide, I will share the process for setting up the auth config for Daytona using an API key. So, let's begin.

NOTE: Daytona issues API keys from the dashboard; its OAuth runs through Auth0 with no self-serve client credentials, so use the API key path.

Step 1: Get your Daytona API key

  1. Sign in and open Daytona's API keys page.

Daytona API Keys page
  1. Create a new API key (give it a name; set permissions/expiry if offered).

Create API Key dialog
  1. Copy the key and store it safely — it is usually shown only once.

Step 2: Create the Auth Config in Composio

  1. Go to the Composio Dashboard and click Create Auth Config.

Composio Auth ConfigsCreate Auth Config — pick a toolkit
  1. Select Daytona from the toolkit list.

Search for DaytonaDaytona auth config form
  1. Choose the API Key authentication type.

  2. Paste your API key and click Create Daytona Auth Config.

  3. Click "Connect Account" to create the connection.

Base URL for Daytona API

https://app.daytona.io/api/

That's it! Copy the Auth Config ID (ac_...) and use it in your code or a secret manager.

Share