Overview
The scripts are designed to be executed on end-user devices through your MDM (Mobile Device Management) platform. They configure each AI coding tool to route through the Unbound Gateway.Before deploying, ensure your MDM provider is connected or devices are imported and you have an admin API key from gateway.getunbound.ai/connect.
YOUR_ADMIN_API_KEY— an admin API key from gateway.getunbound.ai/connecthttps://backend.getunbound.ai— if your organization uses a custom backend URL, replace this with your own
Cursor
Run the following command to configure Cursor:Claude Code
Claude Code supports two deployment methods depending on how your organization uses Anthropic.Method 1: Using API Key
Use this method to route all Claude Code traffic through the Unbound Gateway without requiring an Anthropic subscription on the device:Method 2: With Anthropic Account
Use this method if the user already has an active Anthropic subscription. This configures hooks for tracking and analytics while preserving the existing Anthropic authentication:Gemini CLI
Run the following command to configure Gemini CLI:Codex
Codex supports two deployment methods depending on how your organization uses OpenAI.Method 1: Using API Key
Use this method to route all Codex traffic through the Unbound Gateway without requiring an OpenAI subscription on the device:Method 2: With OpenAI Account
Use this method if the user already has an active OpenAI subscription. This configures hooks for tracking and analytics while preserving the existing OpenAI authentication:Remove Unbound Configuration
To remove the Unbound Gateway configuration from a device, append--clear to the end of any deployment command above. This removes all Unbound-related settings for that tool and restores it to its default state.
For example:
Connect MDM Provider
Set up your MDM integration first
Unbound CLI
Install the CLI to set up and manage tools

