> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt # Discord - Docs Copy page # Discord - Docs PostHog connects to Discord in two ways, depending on where you are: - In the **web app**, [data pipelines](/docs/cdp/destinations/discord.md) send messages to a Discord channel when events or actions happen in PostHog. - In **PostHog Desktop**, Rich Presence shows what you're working on in PostHog on your Discord profile. ## Web ### Event notifications To post messages to a Discord channel when something happens in PostHog, use the [Discord destination](/docs/cdp/destinations/discord.md) in data pipelines. It works with a Discord webhook URL, so you don't need to install anything on the Discord side beyond creating the webhook. 1. In Discord, open **Server Settings** → **Integrations** → **Webhooks**, create a webhook for the channel you want, and copy its URL. 2. In PostHog, go to **Data pipelines** → **Destinations**, search for **Discord**, and click **\+ Create**. 3. Paste the webhook URL, write the message in the **Content** field using event and person properties, and use **Filters** to pick which events trigger it. 4. Click **Create & enable**. Common use cases include alerting on errors, announcing new signups, and sharing survey responses with your team. The [Discord destination](/docs/cdp/destinations/discord.md) page has the full configuration reference. ## Desktop ### Rich Presence PostHog Desktop can show a Rich Presence card on your Discord profile while you work, like the ones games and music apps show. The card shows that you're working in PostHog, and optionally the task title and repository. To turn it on, open **Settings** → **Discord** in PostHog Desktop and enable **Rich Presence**. Rich Presence needs the Discord desktop app running on the same machine. If Discord isn't running, the settings page shows that it's waiting for Discord, and the card appears once Discord starts. ### Privacy You control what the card reveals with two toggles: - **Show task title** includes the focused task's title. - **Show repository name** includes the repository (org/repo) you're working in. With both off, the card only shows that you're working in PostHog. The settings page shows a live preview of exactly what your profile will display. ### Still have questions? Ask PostHog AI ### Was this page useful? HelpfulCould be better