Can I connect cursor to gpt-4o running on Azure?

I have a deployed gpt-4o on Azure, any way to add this model to cursor and use it?