---
schema_version: "1"
id: ea635c96456edc16b9a3005c33759abd1d4ce0c8e8bd789bcb8a411f9a520ef2
title: Set up Marketing Cloud Engagement for the Safety Cloud Package
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/vaccine_packages_mc_setup_hv.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.vaccine_packages_mc_setup_hv.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3846ac6e7b464f1a741061f25b6a677395e895f87565629ff48c07ec0cd4b745
description: If you plan to use Marketing Cloud Engagement to send initial confirmation and status update emails, create an installed package in Engagement and set up the Marketing Cloud Engagement API.
products:
  - Salesforce Platform
release: "264"
---
# Set up Marketing Cloud Engagement for the Safety Cloud Package

If you plan to use Marketing Cloud Engagement to send initial confirmation and status update emails, create an installed package in Engagement and set up the Marketing Cloud Engagement API.

With the Health Verification package, you can send initial confirmation and status update emails only.

First, create an installed package in Engagement.

1. Go to Engagement Setup and click **Apps**.
2. Click **Installed Packages**.
3. Click **New**.
4. Name your application, and select **Create with enhanced functionality (recommended)**.
5. Click **Save**.
6. Click **Add Component**.
7. Turn on **API Integration**.
8. Copy the client ID, client secret, and the subdomain of Authentication Base URI. You use these values in your Salesforce org, so keep them somewhere safe.
9. Select **Integration Type: Web App**.
10. Add a temporary Redirect URI. You update this field with your Auth Provider Callback URI later.
11. Select **Offline Access**.
12. Enable Email Read, Write, and Send permissions.
13. Save the permissions you set.
14. Click **Access**.
15. Click **License All Users**.
16. 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.

1. From Salesforce Setup, go to **Auth. Providers** | **Marketing Cloud Engagement API**.
2. Paste the values from your Marketing Cloud Engagement API Integration:
    1. Consumer Key: enter the Client Id.
    2. Client Secret: enter the Client Secret.
    3. Authorize Endpoint URL: use a URL with the same subdomain as the Authentication Base URI.
    4. Token Endpoint URL: use a URL with the same subdomain as the Authentication Base URI.
3. For security, if you want to exclude consumer secrets from displaying in API responses, deselect **Include Customer Secret in API Responses**.
4. Click **Save**.
5. Copy the Callback URI at the bottom of the Auth Provider.

Add the Callback URI to your Engagement package and authenticate.

1. From Engagement Setup, open your Engagement package page and click **Edit**.
2. In **Redirect URI**, paste the Callback URI.
3. Click **Save**.
4. Copy the REST Base URI.
5. From Salesforce Setup, in the Quick Find box, enter Named Credentials, and click **Named Credentials**.
6. Create or edit a named credential.
7. In **URL**, paste the REST Base URI (or a URL with the same subdomain).
8. Select **Start Authentication Flow on Save** if it isn’t already.
9. Click **Save**. The Engagement login page opens.
10. Log in with your username and password.
11. Verify that the named credential Authentication Status is **Authenticated**.

For full information about the settings, see [Create and Install Packages](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/install-packages.html).

- **[Set up Marketing Cloud Engagement to Send Customer Health Verification Notifications](https://help.salesforce.com/s/articleView?id=service.vaccine_packages_send_hv_notifications_mc.htm&release=264.0.0&type=5)**  
    Prepare and send COVID-19 health verification notifications such as confirmation and status updates to your customers. Send notifications using Content Builder and Journey Builder in Marketing Cloud Engagement.
- **[Define the Send Definitions Configured in Marketing Cloud Engagement](https://help.salesforce.com/s/articleView?id=service.vaccine_packages_hv_define_send_defintions_mc.htm&release=264.0.0&type=5)**  
    Use Occasion objects to define the send definitions for email notifications configured in Marketing Cloud Engagement. When the criteria you define in the send definitions are met, Engagement sends email notifications to users. The context of the email that Engagement sends depends on the criteria specified in the send definition, as defined by the Occasion objects.
- **[Set up an Email Template for Health Verification](https://help.salesforce.com/s/articleView?id=service.vaccine_packages_setup_email_templates_hv.htm&release=264.0.0&type=5)**  
    You can use Occasion Email Mapping to set up an email template for Health Verification. The template determines the content of the Health Verification email.
- **[Schedule the Confirmation and Verification Emails](https://help.salesforce.com/s/articleView?id=service.vaccine_packages_hv_schedule_notifications_mc.htm&release=264.0.0&type=5)**  
    With the Developer Console, you can schedule the `SendConfirmationEmails` and the `SendVerificationEmails` Apex class