Salesforce SDK Deployment
This page covers the full deployment sequence for the Conversive Salesforce SDK, including metadata deployment, org configuration, and the recommended post-deployment API validation flow.
Deployment prerequisites
Before starting deployment, make sure:
- Salesforce CLI is installed
- The target org is authenticated
- The Git repository is cloned locally
- The deploying user has permission to deploy metadata
- The target org supports the required API version and metadata used by the SDK
Deploy the source
Recommended deployment command
Replace <your-org-alias> with the alias of the Salesforce org where the SDK should be deployed.
Metadata to deploy
Deploy the full SDK metadata from the repository, including:
- Apex classes
- Apex triggers
- Custom objects
- Custom fields
- Permission sets
- Lightning or Classic layouts
- Tabs
- Remote Site Settings
- Custom settings or custom metadata used for environment configuration
Post-deployment setup
Complete the following steps after metadata deployment.
Assign the required permission set
Assign the Conversive Access permission set to every user who needs to access the SDK.
- Go to Setup
- Search for Permission Sets
- Open Conversive Access
- Click Manage Assignments
- Click Add Assignments
- Select the required users
- Click Assign
Update the Remote Site Setting
Update the Conversive_Staging_API Remote Site Setting so Salesforce can call the correct Conversive endpoint.
- Go to Setup
- Search for Remote Site Settings
- Open Conversive_Staging_API
- Update the URL with the correct endpoint
- Save the record
Post-deployment API validation
After setup is complete, validate the org with the same functional flow your deployment guide recommends.
1. Create a Conversive account
Run this once during onboarding if the org is not already linked to a Conversive account.
2. Confirm balance is available
3. Confirm plan details are available
4. Validate plain or bulk SMS
5. Validate MMS with text
6. Validate MMS without text
Verification checklist
Functional verification
Confirm the following flows work successfully:
- Account creation
- Balance API
- Plan details API
- Message status API
- Plain text SMS
- Bulk text messaging
- MMS with text
- MMS without text
- Settings update REST endpoints
Technical verification
Also verify the following:
- Permission set assignment completed successfully
- The Remote Site Setting contains the correct endpoint
- The integration settings record was created or updated successfully
- SDK methods can be executed through Execute Anonymous
- Apex tests pass successfully
Recommended test sequence
- Deploy metadata
- Assign the permission set
- Update the Remote Site Setting
- Configure integration settings
- Verify sender IDs exist
- Run Execute Anonymous tests for individual APIs
- Run Apex tests
- Validate end-to-end messaging scenarios
A deployment is complete when metadata is deployed successfully, the environment is configured correctly, sender records are available, the APIs execute without errors, Apex tests pass, and SMS and MMS validation scenarios complete successfully.
