Skip to content

Commit 0ab56af

Browse files
Tom GotsmanTom Gotsman
authored andcommitted
cohere, descope and gemini integration docs
1 parent 370ef23 commit 0ab56af

File tree

8 files changed

+141
-2
lines changed

8 files changed

+141
-2
lines changed
50.7 KB
Loading
9.78 KB
Loading
13.3 KB
Loading

docs/ai_builder/integrations/anthropic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The **Anthropic Integration** allows your app to use [Anthropic’s Claude model
1919

2020
## Step 2: Configure the Integration in Your App
2121

22-
1. Go to **Integrations → Add Anthropic Integration** in your app settings.
22+
1. Go to **Integrations → Add Anthropic** in your app settings.
2323
2. Paste your **Anthropic API Key** in the input field.
2424
3. Click **Connect** to validate and save your integration.
2525

docs/ai_builder/integrations/cartesia.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The **Cartesia Integration** allows your app to generate **high-quality, realist
1919

2020
## Step 2: Configure the Integration in Your App
2121

22-
1. Open your app and go to **Integrations → Add Cartesia Integration**.
22+
1. Open your app and go to **Integrations → Add Cartesia**.
2323
2. Paste your **Cartesia API Key** in the input field.
2424
3. Click **Connect** to validate and save your integration.
2525

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
tags: AI
3+
description: Add Cohere’s language models for text generation, classification, retrieval, embeddings, and more.
4+
---
5+
# Cohere Integration
6+
7+
The **Cohere Integration** allows your app to use [Cohere’s](https://cohere.com) state-of-the-art language models for natural language understanding and generation. Once connected, your app can power search, summarization, embeddings, classification, and conversational AI features directly from workflows and triggers.
8+
9+
10+
## Step 1: Obtain a Cohere API Key
11+
12+
1. Go to the [Cohere Dashboard](https://dashboard.cohere.com/).
13+
2. Log in or create an account.
14+
3. Navigate to **API Keys** in your account settings.
15+
4. Click **Create Key**, give it a descriptive name (e.g., “AI Builder”), and copy the key.
16+
- **Example:** `kY9y0xxxxxxxxxxxxxxxxxxxxxxxxxxx`
17+
18+
19+
## Step 2: Configure the Integration in Your App
20+
21+
1. Go to **Integrations → Add Cohere** in your app settings.
22+
2. Paste your **Cohere API Key** in the input field.
23+
3. Click **Connect** to validate and save your integration.
24+
25+
Once connected, your app can access Cohere’s endpoints for language tasks like embeddings, classification, chat, and more.
26+
27+
28+
## Step 3: Notes
29+
30+
- **Secure API Access:** Keep your Cohere API key private — do not hardcode it in public repositories.
31+
- **Environment separation:** Use different keys for development, staging, and production environments.
32+
- **Performance:** Cohere’s models support fast inference for production-ready experiences.
33+
- **Observability:** Use the Cohere dashboard to monitor usage, quotas, and request logs.
34+
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
tags: Authentication
3+
description: Add Descope’s identity and authentication platform to your apps to manage user sign-in, onboarding, MFA, SSO, and flows with ease.
4+
---
5+
# Descope Integration
6+
7+
The **Descope Integration** enables your app to leverage Descope’s full Customer Identity & Access Management (CIAM) features—visual authentication flows, identity management, SSO, MFA, tenant isolation, and more. Once set up, you can orchestrate secure user journeys across your application with minimal coding.
8+
9+
10+
```md alert warning
11+
# You must open your app in a new tab from the builder to test the Descope integration.
12+
13+
![Open new tab to test Descope](/ai_builder/integrations/descope_new_tab.webp)
14+
```
15+
16+
## What You Can Do
17+
18+
With Descope Integration, your app can:
19+
- Handle user sign-up, login, and passwordless flows seamlessly
20+
- Enable multifactor authentication (MFA), passkeys, and social login
21+
- Support single sign-on (SSO) via OIDC/SAML
22+
- Manage users, roles, tenants, and permissions via management APIs
23+
- Orchestrate onboarding, branding, and multi-tenant flows via drag-and-drop workflows
24+
- Sync user data with tools like HubSpot or Segment via built-in connectors
25+
26+
27+
## Step 1: Obtain Descope Credentials
28+
29+
```python exec
30+
import reflex as rx
31+
from reflex_image_zoom import image_zoom
32+
```
33+
34+
```python eval
35+
rx.el.div(
36+
image_zoom(
37+
rx.image(
38+
src="/ai_builder/integrations/descope.webp",
39+
class_name="p-2 rounded-md h-auto",
40+
border=f"0.81px solid {rx.color('slate', 5)}",
41+
),
42+
class_name="rounded-md overflow-hidden",
43+
),
44+
class_name="w-full flex flex-col rounded-md cursor-pointer",
45+
)
46+
```
47+
48+
1. Log in to the **Descope Console** (or sign up).
49+
2. Create your first Project.
50+
3. Go to the Project page under Settings.
51+
4. Copy the `Project ID`.
52+
53+
54+
## Step 2: Configure the Integration in Your App
55+
56+
1. In your app’s settings or integration dashboard, select **Add Descope**.
57+
2. Enter your **PROJECT_ID**.
58+
3. (Optional) Pick a **DESCOPE_FLOW_ID** (e.g. “sign-up-or-login”) and **SESSION_SECRET_KEY** or press the Clipboard Copy to use default values.
59+
4. Click **Connect** to validate credentials and enable Descope features.
60+
61+
```python eval
62+
rx.el.div(
63+
image_zoom(
64+
rx.image(
65+
src="/ai_builder/integrations/descope_2.webp",
66+
class_name="p-2 rounded-md h-auto",
67+
border=f"0.81px solid {rx.color('slate', 5)}",
68+
),
69+
class_name="rounded-md overflow-hidden",
70+
),
71+
class_name="w-full flex flex-col rounded-md cursor-pointer",
72+
)
73+
```
74+
75+
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
tags: AI
3+
description: Connect your apps to Google’s Gemini models for advanced AI capabilities.
4+
---
5+
# Gemini Integration
6+
7+
The **Gemini Integration** allows your app to use [Google’s Gemini models](https://aistudio.google.com/) for text generation, reasoning, multimodal analysis, and other advanced AI capabilities. Once connected, you can call Gemini directly from your workflows, UI actions, or automated triggers.
8+
9+
## Step 1: Obtain a Gemini API Key
10+
11+
1. Go to [Google AI Studio](https://aistudio.google.com/).
12+
2. Navigate to **Get API Key** or create a new key for your project.
13+
3. Copy the generated key.
14+
15+
* **Example:** `AIzaSyDxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
16+
17+
## Step 2: Configure the Integration in Your App
18+
19+
1. Go to **Integrations → Add Gemini** in your app settings.
20+
2. Paste your **Gemini API Key** in the input field.
21+
3. Click **Connect** to validate and save your integration.
22+
23+
Once connected, your app can use Gemini for AI-powered features across workflows and components.
24+
25+
## Step 3: Notes
26+
27+
* **Keep your key secure:** Do not hardcode your Gemini API key in public code repositories.
28+
* **Use environment-specific keys:** Separate dev, staging, and production keys help manage access and security.
29+
* **Secure API access:** The key allows your app to interact with Gemini endpoints securely and efficiently.
30+
```

0 commit comments

Comments
 (0)