# Models backed by REST API sources You can connect AIP to an externally hosted model provider or account by backing a registered model with a REST API source in Data Connection. This is the recommended path when your model exposes a standard provider API. ## How to register and use your own model :::callout{theme="warning"} You must be an **Enrollment administrator** to register a model *and* have `Owner` or `Editor` permissions on the Data Connection source you configure by following the steps below. ::: ### Create REST API source in Data Connection First, follow the steps below to create a REST API source in Data Connection: 1. Open the [Data Connection](../../data-connection/overview/index.md) application and select **New source > REST API** for your model provider's endpoint. 2. Enter a **Name** for your source and select a **Source location** where you are able to retain `Owner` or `Editor` permissions. 3. Configure the **Domain base URL**, **Authentication** method, and **Port** for your model provider. 4. Ensure you toggle on **Enable exports to this source** and **Enable exports to this source without markings validations** in the **Export configuration** section. 5. Finish configuring your REST API source. You can reference the [REST API connector documentation](../../available-connectors/rest-apis/index.md) for additional details. ![The Export configuration section with the Enable exports to this source and Enable exports to this source without markings validations toggles enabled.](../../../assets/fec8f669ba105a71d5250835ea304b11419289eea0100ec272bba1a491bc45f6.webp) ### Register the model in Control Panel Next, follow the steps below to register a model in Control Panel: 1. Open Control Panel and navigate to the **AIP settings** extension before selecting the **Registered models** tab. 2. Select **Register a model**. 3. Search for and choose the REST API source RID from the **Select source rid** dropdown menu on the **Source configuration** page. 4. Provide your model details in the **Configure source API** and **Model API configuration** sections, such as the model provider name, model name, and API endpoint path. 5. Define the model's capabilities, per endpoint. The capabilities you declare determine which AIP features the model can power. Enabling **Reasoning**, **Structured outputs**, and **Tool calling** ensures AI FDE and AIP Analyst can use the model. 6. Optionally, configure the model's **Data access** policy. If you leave this policy unconfigured, the enrollment policy applies. A model-specific policy completely replaces the enrollment policy. Review how to [control LLM data access with mandatory Markings](../control-llm-data-access-with-markings/index.md). 7. Define the model's rate limits, which are required to enable capacity management and usage observability in the Resource Management application: * **Enrollment rate limits:** Define the maximum requests per minute or tokens per minute available to the enrollment. Project-level limits are calculated as a percentage of these enrollment limits. * **User rate limits:** Define per-user limits that apply to usage in AI FDE, AIP Analyst, and other user-attributed applications. 8. Return to the **AIP settings** extension in Control Panel and enable registered model access for your enrollment. You can grant access to the entire enrollment or to specific user groups. ### Next steps Your registered model is now available across AIP applications. It appears under the **Registered models** tab in the model selector in [all supported applications](../bring-your-own-model/index.md#supported-applications-and-features). ![Source configuration and model information.](../../../assets/750a9b5c6fcb8baa763b9f63e95cfc8e54dfe563ec009141726b9adefa0742bc.webp)