# Integrating with CoreX

Data reaches CoreX two ways.

## 1. Shopify Partner API (automatic)
On connect, CoreX back-fills and then syncs your apps, installs/uninstalls,
subscriptions, and billing about every five minutes (`data:sync
--source=shopify_partner`). This powers Revenue, Customers, Plans, Transactions,
and App events with **zero code**. A SaaS workspace uses
[Stripe](../get-started/connect-stripe.md) instead, on its own daily sync. See
[Connect Shopify Partner account](../get-started/connect-shopify-partner.md).

## 2. Ingestion API (your app pushes events)
Your app's backend can send **identify** and **usage** events with the
`X-CoreX-Token` header to unlock contacts, custom fields, and usage analytics.
Generate an app key on that app’s **Connect** page. A workspace key from
**Settings → Workspace → API keys** is for an assistant that works across every app, not for these
events. Copy-paste snippets live in **Help → Integrations** inside the app.

## 3. Third-party integrations
Connect [Slack](../integrations/slack.md) or Lark (Flow messages and workspace
events) from **Settings → Notifications**, and
[Google Analytics 4](../integrations/google-analytics.md) (Listing Analytics)
from an app's **Listing Analytics** page.

## Related
- [Get Started → Overview](../get-started/overview.md)
- [Integrations overview](../integrations/overview.md)
