# How to connect Batch to my CMS?

You can connect your CMS to Batch to send push notifications using the [Campaigns API](/developer/api/cep/campaigns.md). It gives you the same level of features as the Batch dashboard:

* **Targeting**: Basic, native and custom attributes targeting
* **Scheduling**: Scheduled and recurring push automations
* **Messaging**: A/B testing, deeplink, custom payload, rich push notifications, etc.

Here is what a basic **Campaigns API + CMS** setup looks like:

<figure><img src="/files/YJ1hpoxvIXqnZ0c5A1fi" alt=""><figcaption></figcaption></figure>

With the Batch APIs, you can:

* [**Create**](https://doc.batch.com/developer/api/cep/campaigns/create)**,** [**update**](https://doc.batch.com/developer/api/cep/campaigns/update)**, or** [**delete**](https://doc.batch.com/developer/api/cep/campaigns/delete) an existing push campaign. If the POST to the API endpoint is successful, you will receive an HTTP 201 confirmation with an orchestration ID. Each time you send a push notification, Batch receives feedback from APNS/FCM and cleans the invalid tokens for you.&#x20;
* **Get reports on your campaigns:**
  * Use the Batch Orchestrations API to [list orchestrations](/developer/api/cep/orchestrations/list.md) and [get orchestrations stats](/developer/api/cep/orchestrations/stats.md)
  * Use the Batch Export API to [generate granular Events exports](/developer/api/cep/profiles/export.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.batch.com/developer/technical-guides/how-to-guides/backend/how-to-connect-batch-to-my-cms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
