Manage API endpoints for your space
As a space owner or admin, you can make additional models available to your team by setting up API endpoint connections for your space. You can also control whether users can set up their own endpoints.
This feature is available only for Microsoft accounts.
Connect to Azure OpenAI
GPT for Excel and Word can connect to Azure AI to use OpenAI models.
Prerequisites
You are the owner or an admin of the space.
You have an Azure subscription with Azure AI service access.
You have deployed a model in an Azure OpenAI resource.
Get your Azure OpenAI endpoint details
To connect to Azure AI from GPT for Excel and Word, you need the endpoint URL, name, and API key for the Azure OpenAI model you want to use.
Sign in to Azure AI Foundry.
Select the Azure OpenAI resource that has the model you want to use.
In the sidebar, select My assets > Models + endpoints.
In Model deployments, in the models list, click the name of the model you want to use.
In the model details, copy the Target URI, Key, and Model name.
Set up the Azure OpenAI endpoint
Sign in to the GPT for Work dashboard with your Microsoft account.
In the sidebar, select API endpoints.
Click Azure OpenAI endpoints.
Define the endpoint settings:
Endpoint URL: Enter the endpoint URL for the model.
Model name: Enter the model name.
API key: Enter the API key for accessing the endpoint.
Display name (optional): Enter a custom display name for the model. If not set, the model switcher uses Model name as the display name.
Click Check to validate the settings, and click Save.
You have set up the Azure OpenAI endpoint. All space users can now use the endpoint model in GPT for Excel and Word.
To define another Azure OpenAI endpoint with a different model, click Add another Azure OpenAI endpoint and repeat steps 4 and 5.
Control whether users can set up API endpoints
Choose whether space users can set up their own API endpoints. If you enable this option, users can connect to their own endpoints from GPT for Excel and Word. If you disable this option, users are limited to the endpoints you set up for the space.
Prerequisites
You are the owner or an admin of the space.
Sign in to the GPT for Work dashboard with your Microsoft account.
In the sidebar, select API endpoints.
Use the toggle to allow or disallow space users to set up their own API endpoints.