How Can I use chatGPT API en matlab?

I’m not sure, never tried it, I’d start by either reading the openai documentation, reading matlab documentation or asking chatgpt/playground for how to go on about this