# How do I connect iMile to my store?

The **iMile** app sends your cash-on-delivery orders to iMile in the UAE, Saudi Arabia, Kuwait, Oman, Bahrain, Qatar, Egypt, Jordan, Morocco and Mexico. Cash is collected in the currency of your iMile account country; labels print from the order and a parcel can be cancelled before pickup.

## Steps

1. **Get your keys.** Ask your iMile account manager for your Customer ID and API key.
2. In Dropify, go to **Apps → Discover**, find **iMile** and click **Install**.
3. Open it from **Apps → My apps**. Click **Connect**, enter the **Customer ID** and **API key**, choose the **Account country**, then click **Connect**.
4. Fill the **Pickup address** (name, phone, city, area, address).
5. **Live tracking:** Send the **Webhook address** (it already carries your secret) to iMile support and ask them to push order updates to it. Tracking is also synced every 30 minutes.
6. Set each product to ship with iMile: **Products** → edit the product → **Fulfillment and Shipping** → **Fulfillment Center** = iMile. **Automatically send orders to** sends new orders on their own.
7. Send an order: on the order page, the **iMile parcel** card has **Send to iMile** (or select orders in **Orders** and use **Send to iMile**). The tracking number then appears on the order.
8. From the same card: **Print bordereau**, **Refresh tracking**, **Cancel parcel** (before pickup). Orders move to Shipped, Delivered or Returned automatically.

## Common problems

- "iMile refused this Customer ID or API key." → check both with your iMile account manager.
- "None of the products in this order are set to ship with iMile." → edit the product and set **Fulfillment Center** to iMile (Products → product → **Fulfillment and Shipping**).
- "iMile refused the city: …" → open the order, click **Choose delivery area**, choose the country and type the city and area as iMile writes them ("City, Area"), then send again.
- "iMile collects cash in … only, and this order is in …" → iMile collects cash in the currency of your account country (AED in the UAE, SAR in Saudi Arabia…). If the buyer already paid, mark the order as paid and send again: it ships with no cash to collect.

## Related
- [Which courier / COD delivery app should I connect on Dropify?](https://help.dropify.shop/en/shipping/choose-a-courier-integration/)
- [How do I connect J&T Express to my store?](https://help.dropify.shop/en/shipping/jt-express/)
- [How do I connect Aramex to my store?](https://help.dropify.shop/en/shipping/aramex/)
- [How do I connect Quiqup to my store?](https://help.dropify.shop/en/shipping/quiqup/)
