# PostHog credentials

You can use these credentials to authenticate the following nodes with PostHog.

- [PostHog](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-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 Mosaic Workflows.
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 Mosaic Workflows.
8. Click on the ***Create*** button to create your credentials.