You are here:
Set Up Marketing Cloud Engagement for the Vaccine Cloud Eligibility Package
If you plan to use Marketing Cloud Engagement to send emails and text messages (SMS) to recipients, create an installed package in Engagement and set up the Marketing Cloud Engagement API.
With Vaccine Eligibility packages, you can send emails and SMS to recipients.
First, create an installed package in Engagement.
- Go to Engagement Setup and click Apps.
- Click Installed Packages.
- Click New.
- Name your application, and select Create with enhanced functionality (recommended).
- Click Save.
- Click Add Component.
- Turn on API Integration.
- Copy the client ID, client secret, and the subdomain of Authentication Base URI. You’ll use these values in your Salesforce org, so keep them somewhere safe.
- Select Integration Type: Web App.
- Add a temporary Redirect URI. You’ll update this field with your Auth Provider Callback URI later.
- Select Offline Access.
-
Enable these permissions:
- Email: Read, Write, and Send
- SMS: Read, Write, and Send
- Save the permissions you set.
- Click Access.
- Click License All Users.
- Click License All.
Next, add Marketing Cloud Engagement API as a Salesforce authentication provider in your
Salesforce org. Make sure that the vaccine eligibility packages are installed correctly before
proceeding. The packages install Marketing_Cloud_API.authprovider and Marketing_Cloud_API.namedCredential into the org with placeholder values.
- From Salesforce Setup, go to .
-
Paste the values from your Marketing Cloud Engagement API Integration:
- Consumer Key: enter the Client Id.
- Client Secret: enter the Client Secret.
- Authorize Endpoint URL: use a URL with the same subdomain as the Authentication Base URI.
- Token Endpoint URL: use a URL with the same subdomain as the Authentication Base URI.
- For security, if you want to exclude consumer secrets from displaying in API responses, deselect Include Customer Secret in API Responses.
- Click Save.
- Copy the Callback URI at the bottom of the Auth Provider.
Add the Callback URI to your Engagement package and authenticate.
- From Engagement Setup, open your Engagement package page and click Edit.
- In Redirect URI, paste the Callback URI.
- Click Save.
- Copy the REST Base URI.
- From Salesforce Setup, in the Quick Find box, enter Named Credentials and click Named Credentials.
- Create or edit a named credential.
- In URL, paste the REST Base URI (or a URL with the same subdomain).
- Select Start Authentication Flow on Save if it isn’t already.
- Click Save. The Engagement login page opens.
- Log in with your username and password.
- Verify that the named credential Authentication Status is Authenticated.

