Creating a Custom OAuth App
Create an App
Follow the procedure below to create and register an application and obtain the OAuth client credentials, the client Id, and client secret:
- Log in to your Salesforce Marketing Cloud and navigate to Marketing Cloud | Administration | Installed Packages.
- Click New.
- Specify a package name and description.
- Save the package. The saved package contains important data; see "Installed Packages Definitions" for more information about each field. Note that you see the Package ID, JWT Signing Secret, and Source Account only for packages created in your account.
- Under Components, click Add Component.
- Select API Integration.
- You must select Server-to-Server or Web App as the integration type if the package supports enhanced functionality.
- Assign the appropriate scope for your integration.
- Perform server-to-server requests... is automatically selected for all API Integrations.
- Select Perform requests on behalf of the user... if this package contains a Marketing Cloud application.
- Select the Marketing Cloud scope for your API calls. Assign only the scope your package needs.
- Save the component.
- The Client ID and Client Secret are located under the component details.