API keys are used to make secure connections between 2 platforms without the need to log in each time the connection needs to be made. An API key is often needed to set up Mailgun or SMTP services or create integrations with platforms not already created within the Highlevel platform.