# Lastlink

> Connect Lastlink to your Cademí: the Cademí integration inside the product on Lastlink, the product ID it shows and where you paste the Postback URL.

Connect Lastlink to your Cademí so each approved purchase gives the student access on its own. You need to turn on the **Cademí** integration inside the product on Lastlink: that is where the product ID and the Postback URL field live. Lastlink 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 **Lastlink**.
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 Lastlink.
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. Find the product ID

1. In the Lastlink dashboard, open **Meus Produtos** (My products) in the side menu and click the product.
2. Click **Integrações** (Integrations) and, on the **Cademí** integration, click **Ativar** (Activate).
3. Copy the **Product ID** that Lastlink shows and paste it into **Product ID** in the Cademí delivery.

## 3. Set up the integration

1. Still in the product's **Cademí** integration, paste the **Postback URL** of the delivery into the **URL Postback Gerada na Cademí** (Postback URL generated in Cademí) field.
2. Click **Salvar** (Save) and, in Cademí, save the delivery.

**One product at a time:** the Lastlink integration lives inside each product. Repeat steps 2 and 3 for each product you deliver through Cademí.
