Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
| 1 | ## How do I connect Daytona with an API key? |
| 2 | |
| 3 | Use an API key when you want to connect with your own Daytona credentials. Daytona's OAuth runs through Auth0 without self-serve client credentials, so you can't bring your own OAuth app; the alternative is Composio-managed OAuth. |
| 4 | |
| 5 | ### Create the Daytona API key |
| 6 | |
| 7 | 1. Sign in and open the [Daytona API keys page](https://app.daytona.io/dashboard/keys). |
| 8 | 2. Create a new key. Give it a name and set permissions or an expiry if the form offers them. |
| 9 | 3. Copy the key and store it somewhere safe. Daytona usually shows it only once. |
| 10 | |
| 11 | ### Create the auth config in Composio |
| 12 | |
| 13 | 1. In the Composio dashboard, go to **Auth Configs**, click **Create Auth Config**, and select **Daytona**. |
| 14 | 2. Choose the **API Key** authentication type and create the auth config. |
| 15 | 3. Click **Connect Account** and paste your API key. If the key has access to more than one Daytona organization, also enter the organization ID, found on the [Daytona settings page](https://app.daytona.io/dashboard/settings). |
| 16 | 4. Confirm the account shows as **Active**. |
| 17 | |
| 18 | See [Custom auth configs](/docs/auth-configuration/custom-auth-configs) for the general flow. |