# Apple DEP Integration

> Connect Apple Business Manager's Device Enrollment Program to CapaOne so purchased devices enroll automatically during setup.

Source: https://docs.capaone.com/capaone/mobile-manager/apple-mdm/apple-dep-integration/  
Product: CapaOne — a separate CapaSystems product; do not apply this page to any other.

:::note[Important]
DEP (Device Enrollment Program) is part of ABM. It allows devices purchased through Apple or authorized resellers to automatically enroll into CapaOne during setup.
:::

## Integrate Apple DEP

1. In CapaOne, go to Apple → Certificates → DEP Certificate → Update.
2. Download the Public Key.
3. In ABM, go to Settings → MDM Servers → Add MDM Server.
4. Upload server token and name the server (e.g., CapaOne MDM).
5. Download the ABM server token (.p7m).
6. Upload token into CapaOne → Select DEP Token → Upload.

CapaOne is now linked with ABM.

If you are renewing a DEP Certificate to an already existing CapaOne ABM device server, then you do not need to do step 2, 3 and 4. There you just need to find your current device server and download a new ABM server token (.p7m). which you can upload to CapaOne to update.

![CapaOne DEP certificate page linked with the Apple Business Manager MDM server](/attachments/capaone/18a93fc2-17f6-407b-8c5f-1ce7db6ea265.png)

## Assign devices to CapaOne MDM

You can now assign devices to CapaOne MDM in ABM.

1. In ABM, go to Devices.
2. Select devices → Assign Device Management → assign to CapaOne MDM server.

Devices now automatically DEP enroll to CapaOne when activated or reset.

![Apple Business Manager Devices view assigning devices to the CapaOne MDM server](/attachments/capaone/4561abe7-1fec-481a-8d47-85f01f6cd228.png)
