Skip to main content
Organization admin access is required to create API keys with the necessary scopes.

Generate an API Key

To connect Logfire with StackOne, you need to generate an API key from your organization settings in the Logfire console.

1

Sign in to Logfire

Sign in to your Logfire console for your region.

2

Navigate to Organization API Keys

Click your organization name in the bottom-left corner of the sidebar, then select Org settings. In the left sidebar under your organization section, click API keys.

3

Create a New API Key

Click + New API key in the top-right corner.

  • Enter a name and optional description for the key.
  • Select the following Organization Scopes: organization:create_project, organization:read_channel, organization:write_channel.
  • Select all Project Scopes: project:read, project:write, project:write_token, project:read_token, project:read_dashboard, project:write_dashboard, project:read_alert, project:write_alert, project:read_variables, project:write_variables.
  • You can skip: project:gateway_proxy, project:read_otlp, project:write_otlp (not needed for this integration).
  • Check All Projects to allow access across all projects in the organization.
  • Click Create to generate the key.
4

Copy the API Key

The API key is shown only once after creation. Copy it immediately and store it securely.

  • The key starts with pylf_v2_eu_ (EU) or pylf_v2_us_ (US).
  • If you lose the key, you must create a new one.

Determine Your API Region URL

Logfire supports two data regions. Use the base URL that matches the region where your account was created.

  • EU Region: https://api-eu.pydantic.dev
  • US Region: https://api-us.pydantic.dev

Free Plan Limits

The Logfire Personal Plan (free) includes the following limits.

  • Projects: 3
  • Seats: 1
  • Guests: 2
  • Logs/Spans/Metrics: 10 million per month

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • API Key
  • API Region URL
3

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

If the account linking is successful, you will see the newly linked account in your Accounts page.