How can I generate oAuth2 Keys?

Open your Mautic settings sidebar and click on API credentials.

Create new oAuth2 credentials with the following values:

Name: As you like: E.g. Trello

Redirect URI:
Click save and close adding to your CORS-Domains

If you have restricted your CORS domains (recommended), please add to your “Valid Domains” in Mautic > settings > CORS settings.

If you enabled CORS just now, make sure your website and other external services can still connect to Mautic.