> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectecho.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to show Campaigns with the My app embed

> Load embed v2 so in-app Campaigns announcements can appear to identified members.

**App** surface campaigns are delivered by the Project Echo embed messenger (`pe-messenger`), loaded from **embed v2**.

## Requirements

1. A Campaign with surface **App**, enabled, and eligible for the current member/page.
2. The [My app](https://docs.projectecho.io/api-mcp-and-embed/embed-my-app.md) snippet using embed **v2**:

```html theme={null}
<script
  async
  defer
  src="https://app.projectecho.io/embed/v2/pe-embed.js"
  data-pe-api-base="https://app.projectecho.io"
  data-pe-embed-key-id="YOUR_EMBED_KEY_ID"
  data-pe-embed-token="YOUR_EMBED_TOKEN"
  data-pe-subdomain="YOURSUBDOMAIN"
  data-pe-portal-base-url="https://YOURSUBDOMAIN.projectecho.io"
  data-pe-external-user-id="{{END_USER_ID}}"
  data-pe-email="{{OPTIONAL_EMAIL}}"
></script>
```

Identify must succeed so Project Echo knows which member is present. The messenger loads automatically unless campaigns are disabled on the page.

Related: [Disable or preview campaigns in the embed](https://docs.projectecho.io/api-mcp-and-embed/disable-or-preview-campaigns-in-embed.md) · [Campaigns overview](https://docs.projectecho.io/campaigns/campaigns-overview.md)

Questions? Email [support@projectecho.io](mailto:support@projectecho.io).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.