# PostHog You can use these credentials to authenticate the following nodes with PostHog. - [PostHog](/integrations/nodes/n8n-nodes-base.postHog/) ## Prerequisites Create a [PostHog](https://posthog.com/) account or host PostHog on your server. ## Using API Key 1. Open your PostHog dashboard. 2. Click on ***Project*** on the left sidebar. 3. Click on the ***Safety & Privacy*** tab. 4. Scroll down to the ***Project API Key*** section and copy the displayed API key. 5. Enter a name for your credentials in the ***Credentials Name*** field in the 'PostHog API' credentials in n8n. 6. If you're hosting PostHog on your own server, update the URL of your PostHog instance in the ***URL*** field. 7. Paste the API key in the ***API Key*** field in the 'PostHog API' credentials in n8n. 8. Click on the ***Create*** button to create your credentials. The following video demonstrates the steps mentioned above.