Skip to content

Finding your PostHog API Key and Base URL

You'll now be prompted to add the PostHog API Key and Base URL.

Finding your PostHog API Key

  1. To find API key, sign in to your PostHog account.
  2. Go to Account settings
  3. In the Personal API Keys section, click Create a Personal API Key. Click on Personal API Key
  4. Give your key a label – this is just for you, usually to describe the key's purpose.
  5. Choose the scopes for your key. We recommended selecting only the scopes required for the API endpoints you really need. This is a security best practice. You can always modify the scopes later if you need to.
  6. At the top of the list, you should see your brand new key. Immediately copy its value, as you'll never see it again after refreshing the page and paste it in relevant field in Truto.

Finding your Base URL

  1. To find Base URL, sign in to your PostHog account.
  2. You will find the Base URL from the PostHog website URL in your browser as shown in the image below. Then click Connect. Find Base URL