About Apple Business Manager
Apple Business Manager (ABM) is Apple’s web portal for IT administrators to deploy and manage Apple devices, apps, and accounts at scale. Through ABM, organizations can enroll devices in Mobile Device Management (MDM) solutions, purchase and distribute apps and books, and create Managed Apple Accounts for their workforce. Connecting Apple Business Manager to Serval enables your IT team to automate device enrollment workflows, manage device assignments, and streamline provisioning directly from chat or workflows.What the Apple Business Manager integration enables
| Capability | Description |
|---|---|
| Device Management | View and manage device assignments to MDM servers |
| Automation workflows | Automate device enrollment and provisioning workflows |
Prerequisites
Before connecting Apple Business Manager to Serval, you’ll need:- Administrator access to your organization’s Apple Business Manager account
- An API account created in Apple Business Manager with a generated private key
Only users with the Administrator role in Apple Business Manager can create API accounts.
Apple Business Manager configuration
1. Create an API account in Apple Business Manager
Follow Apple’s official documentation to create an API account:- Sign in to Apple Business Manager with an Administrator account
- Click your name at the bottom of the sidebar, select Preferences, then select API
- Click Get Started, enter a name for the account (e.g., “Serval Integration”), then click Create
- Click Generate Private Key to download your
.pemprivate key file - Click Manage to view your Client ID and Key ID (you’ll need both for Serval)
2. Note your credentials
After creating the API account, you’ll have:| Credential | Description | Where to find it |
|---|---|---|
| Client ID | A unique identifier for your API account (format: BUSINESSAPI.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) | Apple Business Manager → Preferences → API → Manage |
| Key ID | A unique identifier for your private key (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) | Apple Business Manager → Preferences → API → Manage (shown after generating a key) |
| Private Key | A .pem file used to authenticate API requests | Downloaded when you generate the private key |
Serval Configuration
- In Serval, go to Apps → Available → Apple Business Manager → Connect
- Enter your Client ID from Apple Business Manager
- Enter your Key ID from Apple Business Manager
- Open your
.pemprivate key file in a text editor and paste the entire contents (including the-----BEGIN PRIVATE KEY-----and-----END PRIVATE KEY-----lines) into the Private Key field - Click Save
Troubleshooting
Invalid private key error
If you see an error about an invalid private key:- Ensure you’re pasting the complete contents of the
.pemfile - The key should start with
-----BEGIN PRIVATE KEY-----and end with-----END PRIVATE KEY----- - Don’t include any extra whitespace before or after the key
Authentication failed
If authentication fails:- Verify your Client ID is correct (it should start with
BUSINESSAPI.) - Verify your Key ID is correct (it’s the UUID shown next to your private key in Apple Business Manager)
- Ensure the API account is enabled in Apple Business Manager
- Check that you’re using the correct private key for this API account
- Ensure the Key ID matches the private key you’re using (each key has a unique Key ID)
Need to rotate credentials
To rotate your credentials:- In Apple Business Manager, generate a new private key for your API account
- In Serval, reconnect the Apple Business Manager app with the new private key
Need help? Contact [email protected] for assistance with your Apple Business Manager integration.

