Prerequisites
- A Daytona account with an organization you can manage
Create a Daytona API key
1
Open API key settings
In the Daytona dashboard, select API Keys in the sidebar, then select Create Key.
2
Grant the key permission to manage secrets
Give the key a name. Under Permissions, select Restricted, then set Secrets to Manage. Full Access also works.Infisical needs this permission to create, update, and delete secrets. A key without it is rejected when you create the connection.
3
Copy the key
Select Create. Daytona shows the key once, immediately after creation. Copy it and store it securely. You need it in the next section.
Create a Daytona connection in Infisical
- Infisical UI
- API
1
Navigate to App Connections
In your Infisical dashboard, go to Organization Settings → App Connections (or the Integrations → App Connections tab in your project).
2
Select Daytona Connection
Select Add Connection and choose Daytona from the list of available connections.
3
Fill out the connection form
Complete the form with:
-
A name for the connection (for example
daytona-prod) - An optional description
- Your Daytona API key
4
Connection created
Infisical validates the key against Daytona. Once it passes, the connection is ready to use in your project.