Get my API key now

They will generate it for me

Authentication and how to generate an “api key” also known as an oAuth token is cover here in this documentation: Authentication | Twitch Developers

Which flow used will depend on what you need the “api key” for.

I’m also assuming by “api key” you mean an oAuth token and not a clientID which is also covered in the linked documentation