# Xgrow

> Connect Xgrow to your Cademí: the integration under Recursos > Integrações, with the Postback URL and identification token, and the product ID.

Connect Xgrow to your Cademí so each approved purchase gives the student access on its own. You need an integration on Xgrow pointing to Cademí and the product ID it shows. The Xgrow delivery does not ask for a token.

## 1. Create the delivery in Cademí

1. In the Cademí dashboard, open **Sales > Deliveries** and add a delivery.
2. In **Select a Gateway**, pick **Xgrow**.
3. In **Delivery Name**, enter a name that helps you recognize it later.
4. In **Sales Mode**, choose **One-time sale** or **Subscription**, matching the product on Xgrow.
5. The **Gateway connection** section shows the **Product ID** field and the **Postback URL**.

Keep the delivery open: you come back to it in the next steps.

## 2. Set up the integration on Xgrow

1. In the Xgrow dashboard, open **Recursos > Integrações** (Resources > Integrations) in the side bar.
2. Name the integration, for example "Cademí".
3. In **URL da API Cademí** (Cademí API URL), paste the **Postback URL** of the delivery.
4. In **Token da API Cademí** (Cademí API token), paste the identification token of your Cademí. You find it in the Cademí dashboard, under **Settings > API keys > Legacy API** (in the **Integrations** group), in the **Identification token** field.
5. Click **Avançar** (Next).
6. Choose the **Pagamento Aprovado -> Conceder Acesso** option (approved payment, grant access).
7. Add the product you deliver through Cademí. Xgrow shows the product ID.
8. Copy the ID and paste it into **Product ID** in the Cademí delivery.
9. Finish the integration on Xgrow and, in Cademí, save the delivery.
