n8n-docs/docs/integrations/credentials/postHog.md
2022-04-13 09:56:05 +01:00

27 lines
1.1 KiB
Markdown

# 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.
<div class="video-container">
<iframe width="840" height="472.5" src="https://www.youtube.com/embed/zK1sy6kUarE" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>