Project API key
Create the key in the settings of the project you want to connect.
Start a new API key
Sign in to the Logfire EU console, or the Logfire US console for the US region. Open the project, then click Project settings in the breadcrumb.
- In the sidebar, click API keys.
- Click + New API key.

Configure and create the key
Fill in the New API key form. The Project field is fixed to the current project.
- Permissions: tick Read and Manage, or expand Advanced and tick only the scopes listed
- Expiration: No expiration, or the duration your security policy requires
- Click Create API key.

Copy the API key
Copy the API Key across.
- The key is shown only once and cannot be retrieved later.
Find your API region URL
The API Region URL matches the region of the Logfire console you signed in to.
- Format:
https://api-{region}.pydantic.dev - Example: if your console is
https://logfire-us.pydantic.dev, your API Region URL ishttps://api-us.pydantic.dev
Link the Account
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.
Use Actions