---
schema_version: "1"
id: df660791a3b038ed63d0f007fb7a915cfa238e13bfd4f283bc95a156645fe748
title: Add Messaging to a Salesforce Voice with Partner Telephony Managed Package
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/messaging-byoc-ccaas/guides/add-messaging-to-voice.md
canonical_url: https://developer.salesforce.com/docs/service/messaging-byoc-ccaas/guide/add-messaging-to-voice.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f4198716118d7b8f5bc4dd8356324bcc94a6c830e442b60891037fccb36eb0a9
products:
  - Bring Your Own Channel for CCaaS
  - Service Cloud Developer Content
---
# Add Messaging to a Salesforce Voice with Partner Telephony Managed Package

To add Bring Your Own Channel for CCaaS Messaging capabilities to a preexisting managed package configured for Salesforce Voice with Partner Telephony (formerly Service Cloud Voice with Partner Telephony), follow these steps.

Before you begin, check that you have an existing managed package for Salesforce Voice with Partner Telephony.

1. Ensure that the [prerequisites are in place](https://developer.salesforce.com/docs/service/messaging-byoc-ccaas/guide/introduction.md) to enable Bring Your Own Channel for CCaaS.
2. [Set up an external client app](https://developer.salesforce.com/docs/service/messaging-byoc-ccaas/guide/create-connected-app.md) to integrate a third-party CCaaS system with Salesforce using Interaction Service API.

   **note:** If your CCaaS system architecture requires admins to create and manage the external client app (ECA) during Bring Your Own Channel for CCaaS setup instead, set the `connectedAppType` field in the Conversation Channel Definition to `Customer`, don’t create or include an ECA in your managed package, and notify your customers to follow instructions in the _Configure an External Client App for OAuth Integration_ section of this [Salesforce help article](https://help.salesforce.com/s/articleView?id=service.byoc_ccaas_create_channel.htm).

3. [Generate an access token](https://developer.salesforce.com/docs/service/messaging-byoc-ccaas/guide/generate-token.md) for authenticating requests to Interaction Service API.
4. [Create and configure a custom platform event](https://developer.salesforce.com/docs/service/messaging-byoc-ccaas/guide/create-platform-event.md) to send and receive messages between Salesforce and the CCaaS provider system.
5. [Create a Conversation Channel Definition](https://developer.salesforce.com/docs/service/messaging-byoc-ccaas/guide/create-conversationchanneldefinition-record.md) record to bundle the metadata used for your Messaging integration.
6. Update the [Conversation Vendor Info record](https://developer.salesforce.com/docs/service/messaging-byoc-ccaas/guide/create-conversationvendorinfo-record.md) to set `vendorType` as `BringYourOwnContactCenter`.
7. Publish an upgrade to the managed package to add these components:
   - the new Conversation Channel Definition record
   - the new connected app, unless you require admins to create one instead
8. Push the package upgrade to subscribers or notify customers that they can upgrade their package.

   Only customers who have the Digital Engagement license with Partner Messaging are able to use Messaging capabilities in their contact centers.

**See Also**

- _First-Generation Managed Packaging Developer Guide_: [Publish Upgrades to First-Generation Managed Packages](https://developer.salesforce.com/docs/atlas.en-us.pkg1_dev.meta/pkg1_dev/publish_upgrades.htm)
- _First-Generation Managed Packaging Developer Guide_: [Push Package Upgrades to Subscribers](https://developer.salesforce.com/docs/atlas.en-us.pkg1_dev.meta/pkg1_dev/push_upgrade_intro.htm)
- _Second-Generation Managed Packaging Developer Guide_: [Push a Package Upgrade for Second-Generation Managed Packages](https://developer.salesforce.com/docs/atlas.en-us.pkg2_dev.meta/pkg2_dev/push_upgrade_intro_2GP.htm)
- _Object Reference_: [ConversationVendorInfo](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_conversationvendorinfo.htm)
- _Salesforce Voice with Partner Telephony Developer Guide_: [Set Up and Publish Your Partner Telephony Package](https://developer.salesforce.com/docs/atlas.en-us.voice_pt_developer_guide.meta/voice_pt_developer_guide/voice_pt_setup_publish_telephony_package.htm)
