Quick Start: SDK Integration
Get the RevRag AI SDK integrated into your iOS, Android, or web app in under two hours.
The RevRag AI SDK is a lightweight library that you embed inside your existing app. It handles all communication with the RevRag AI agent runtime, captures behavioral signals, and renders the agent UI components. Setup typically takes one to two hours.
Prerequisites
Before starting, make sure you have:
- A RevRag AI workspace created and your API key available from the Settings page
- Your app project open in your development environment
- Read access to your CRM or CDP endpoint URLs (needed for the integration step)
Step 1 - Install the SDK
Add the RevRag AI SDK to your project. For React Native and web, install via npm. For native iOS or Android, use the respective package manager. Detailed per-platform instructions are available in the SDK reference.
Step 2 - Initialize the SDK
Initialize RevRag AI early in your app lifecycle - typically in your root component or app delegate. Pass your API key, the current user ID, and any user attributes you want the agent to have access to (name, segment, product stage, etc.).
Step 3 - Configure Your First Agent
In the RevRag AI dashboard, navigate to Agent Builder and create your first agent. Choose a pre-built template (Onboarding Guide, Support Agent, or Collections) and connect it to your data sources. The agent will be live in your app once you publish it.
Step 4 - Verify the Integration
Use the RevRag AI Event Debugger in the dashboard to confirm that behavioral events are flowing from your app. You should see session start, screen view, and user attribute events within a few minutes of opening the app in a test environment.
See RevRag AI in Action
Book a demo and see how agentic AI can transform your BFSI customer journeys.
Book a Demo