Skip to main content
Only a project Owner or Admin can create a project API key.

Create the project API key

Create the key in the Langfuse project you want to read.

1

Create the key

Sign in to Langfuse at the address for your region and open the project.

  • Go to Project Settings > API Keys.
  • Select Create new API keys.
  • Name the key.
  • Keep Full access.
  • Select Create API key.
2

Copy the key

Langfuse shows the secret key only once, when the key is created. The public key starts with pk-lf- and the secret key with sk-lf-.

  • Copy the Public Key across.
  • Copy the Secret Key across.
3

Select the region

Select the Region that matches the address in your browser’s address bar.

  • cloud.langfuse.com: EU
  • us.cloud.langfuse.com: US
  • jp.cloud.langfuse.com: Japan
  • hipaa.cloud.langfuse.com: HIPAA
1

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.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.