---
schema_version: "1"
id: df49a6dca3d9f58fe8756f21dc903e4cc6233432b70f76ce405226ba7ae3fa48
title: Set up Marketing Cloud Engagement to Send Text Messages to Vaccine Eligibility Recipients
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/vaccine_packages_send_sms_mc.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.vaccine_packages_send_sms_mc.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2f2c3ea363ad4a81e48e6e83dc09f3e5a10e88f4cb83fa82a1549d25986d9c9f
description: Prepare and send text messages to Vaccine Eligibility recipients using Mobile Studio in Marketing Cloud Engagement.
products:
  - Salesforce Platform
release: "264"
---
# Set up Marketing Cloud Engagement to Send Text Messages to Vaccine Eligibility Recipients

Prepare and send text messages to Vaccine Eligibility recipients using Mobile Studio in Marketing Cloud Engagement.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> editions.</td></tr></tbody></table>

Keep these things in mind when you write text messages:

- Stay under the 160-character limit imposed by most carriers.
- Include a call to action with both a URL and a phone number to accommodate recipients who don’t have a smartphone.
- Use a link shortener to save space.
- Include the STOP response, so recipients can opt out of your messages.

1. From Engagement Setup, go to **Mobile Studio** | **Mobile Connect**.
2. Click the **Administration** tab.
3. Select the short code that corresponds to your account.
4. In **Create Keyword**, enter your preferred keyword.
    
    This keyword is what users enter to opt in to receive messages. Make it complex enough so that no one, human or bot, accidentally uses it and creates a subscription.
5. Click **Create**.
6. Use the Marketing Cloud Engagement API to create an SMS send definition using your shortcode and keyword. For details, see [Create an SMS Send Definition](https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/createSMSSendDefinition.htm).
7. Create a request using the `AsyncSendSms` Apex class. (It’s part of the Vaccine Eligibility Form and Updates package.)
    1. Enter the SMS definition key as the value of the DEFINITION\_KEY variable.
    2. If you support multiple languages, add logic that sends text messages based on the language the recipient selected for the form. This requires translating the messages first
    3. Uncomment the call to `queueSmsSend()` in the `AsyncPostRegProcessor` Apex class. (It’s part of the Vaccine Eligibility Form and Updates package.)
    4. The `AsyncPostRegProcessor` Apex class contains a function called `isLeadEligible`. This is where you can set custom logic for eligibility in order to determine which recipients receive the message.

#### See Also

- [Marketing Cloud Engagement API: Create a Transactional SMS Send Definition](https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/createSMSSendDefinition.htm)