Similar to using your own OpenAI API key, you can also use your own Azure API key.

To use your own Azure API key, open the Cursor Settings Popup, open the Advanced collapsible, navigate to the Azure API section, and fill it out with your Azure config.

After you enable the Azure API switch, you will see your own AI model from Azure as an option in the AI models dropdown for example in the Chat.