# Digital Manager Guru

> Connect Digital Manager Guru to your Cademí: the product code and the sales and subscriptions webhooks with every status selected.

Connect Digital Manager Guru to your Cademí so each approved purchase gives the student access on its own. You need the product code and a webhook pointing to Cademí. Guru 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 **D. Manager Guru**.
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 Guru.
5. The **Gateway connection** section shows the **Product Code** field and the **Postback URL**.

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

## 2. Find the product code

1. In the Guru dashboard, click **Produtos** (Products) in the side menu.
2. Open the product you deliver through Cademí and copy its **Código** (Code).
3. Paste the code into **Product Code** in the Cademí delivery.

## 3. Set up the webhook

If you already set up the Guru webhook with the **Todos os produtos** (All products) option, you can skip this step.

1. In the Guru dashboard, click **Webhooks** in the side menu.
2. Click **Vendas** (Sales), then the **...** menu in the top right corner and **adicionar (+)** (add).
3. In **URL**, paste the **Postback URL** of the delivery.
4. Select every status and click **Enviar** (Send).
5. If the product is a subscription, repeat steps 2 to 4 clicking **Assinaturas** (Subscriptions) instead of **Vendas**.
6. In Cademí, save the delivery.
