React Native Integration Guide

This guide provides a comprehensive overview of integrating the Agentforce Mobile SDK with your React Native application.

The React Native Agentforce SDK is a bridge to the native iOS and Android SDKs, providing a JavaScript API to configure and launch Agentforce conversations. It supports two agent modes:

  • Service Agent: Anonymous customer support with zero authentication required
  • Employee Agent: Authenticated internal use with OAuth via the Salesforce Mobile SDK

Before you begin, make sure you've reviewed the Requirements and completed the Installation steps.

For a quick introduction, see the Quick Start Guide.

Explore these topics to integrate the SDK into your application.

FeatureDescription
Service AgentAnonymous customer support with no auth required
Employee AgentAuthenticated access with OAuth via Mobile SDK
Feature FlagsToggle multi-agent, voice, camera, PDF upload
Hidden Prechat FieldsPre-populate form data for Service Agent sessions
Additional ContextPass contextual variables to personalize responses
DelegatesLogger, navigation, and custom view provider callbacks

This bridge wraps the platform-specific Agentforce SDKs: