Skip to main content
The Connect widget lets your end users authorize their CRM/PMS accounts directly from your application. It handles OAuth flows, credential entry, and connection management — you just embed it and receive a callback when the connection is ready.

How It Works

1. Create a Connect Token

Generate a short-lived token scoped to an end user:
Response:
The token expires in 10 minutes. Generate a fresh token each time a user needs to connect.

2. Embed the Widget

Install the Connect SDK:

Vanilla JS / TypeScript

React

CDN (no bundler)

3. Fetch Data

Once connected, use the unified API to access the user’s data:
The API key is scoped to your organization — all connections created by your end users are accessible through the same key.

Widget Customization

The Connect widget’s appearance (colors, fonts, logo, dark mode) is configured from the RouteMCP dashboard under SDK Config. No code changes needed — the widget automatically picks up your branding.

Supported Providers