Skip to content

Commit ea0581a

Browse files
Tom GotsmanTom Gotsman
authored andcommitted
hubspot, huggingface, langchain
1 parent 53a9852 commit ea0581a

File tree

6 files changed

+131
-5
lines changed

6 files changed

+131
-5
lines changed
83.5 KB
Loading

docs/ai_builder/integrations/airtable.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
tags: Database
2+
tags: Data Infrastructure
33
description: Connect your apps to Airtable to read, create, and update records in real time.
44
---
55
# Airtable Integration
@@ -25,7 +25,6 @@ With the Airtable Integration, your app can:
2525
4. Under **Personal access tokens**, click **Create token**.
2626
5. Add the appropriate scopes (e.g. `data.records:read` and `data.records:write`).
2727
6. Copy your API token.
28-
2928
* Example: `patl2IhDFoZK0Rabc12345xyz`
3029

3130
## Step 2: Configure the Integration in Your App
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
tags: Data Infrastructure
3+
description: Connect your apps to HubSpot to manage contacts, companies, deals, and marketing workflows.
4+
---
5+
# HubSpot Integration
6+
7+
The **HubSpot Integration** allows your app to use [HubSpot](https://www.hubspot.com/) as a CRM and marketing automation platform. Once connected, your app can sync leads, manage contacts, update pipelines, and trigger workflows directly from user actions or automated events.
8+
9+
## Step 1: Obtain a HubSpot Access Token
10+
11+
1. Go to your [HubSpot Developer Account](https://developers.hubspot.com/).
12+
2. Navigate to **App → Private Apps** in your account settings.
13+
3. Click **Create Private App**, configure scopes (e.g., `crm.objects.contacts.read/write`, `crm.schemas.companies.read`), and save.
14+
4. Copy the **Access Token** from the Auth tab.
15+
* **Example:** `pat-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`
16+
17+
```python exec
18+
import reflex as rx
19+
from reflex_image_zoom import image_zoom
20+
```
21+
22+
```python eval
23+
rx.el.div(
24+
image_zoom(
25+
rx.image(
26+
src="/ai_builder/integrations/hubspot.webp",
27+
class_name="p-2 rounded-md h-auto",
28+
border=f"0.81px solid {rx.color('slate', 5)}",
29+
),
30+
class_name="rounded-md overflow-hidden",
31+
),
32+
class_name="w-full flex flex-col rounded-md cursor-pointer",
33+
)
34+
```
35+
36+
## Step 2: Configure the Integration in Your App
37+
38+
1. Go to **Integrations → Add HubSpot** in your app settings.
39+
2. Paste your **HubSpot Access Token** in the input field.
40+
3. Click **Connect** to validate and save your integration.
41+
42+
Once connected, your app can sync and manage HubSpot data directly from workflows and UI actions.
43+
44+
## Step 3: Notes
45+
46+
* **Keep your token secure:** Do not hardcode your HubSpot token in public code repositories.
47+
* **Use environment-specific tokens:** Separate dev, staging, and production tokens to manage access.
48+
* **Secure API access:** The token allows your app to interact with HubSpot endpoints securely and efficiently.
49+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
tags: AI
3+
description: Connect your apps to Hugging Face to access thousands of open models for text, vision, and multimodal tasks.
4+
---
5+
# Hugging Face Integration
6+
7+
The **Hugging Face Integration** allows your app to use [Hugging Face](https://huggingface.co/) models for a wide range of AI tasks — including text generation, embeddings, translation, classification, image processing, and more. You can integrate both hosted models (via API) or local open-source models through the Transformers library.
8+
9+
## What You Can Do
10+
11+
With Hugging Face, your app can:
12+
- Access thousands of pre-trained **text, vision, and multimodal models**.
13+
- Run **text generation**, summarization, translation, and classification tasks.
14+
- Use **embeddings** for search, retrieval, and similarity.
15+
- Deploy models locally with `transformers` or connect to hosted inference endpoints.
16+
- Fine-tune or customize open models for your specific use cases.
17+
- Integrate community and enterprise models seamlessly into workflows.
18+
19+
## Step 1: Obtain a Hugging Face Access Token (Optional)
20+
21+
1. Go to [Hugging Face](https://huggingface.co/).
22+
2. Log in or create a free account.
23+
3. Navigate to **Settings → Access Tokens**.
24+
4. Click **Create New token**, set its scope, and copy it.
25+
* **Example:** `hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
26+
27+
28+
## Step 2: Configure the Integration in Your App
29+
30+
1. Go to **Integrations → Add Hugging Face** in your app settings.
31+
2. Paste your **Hugging Face Access Token** if required.
32+
3. Click **Connect** to validate and save your integration.
33+
34+
Once connected, your app can use Hugging Face models directly in workflows, UI actions, or automations.
35+
36+
## Step 3: Notes
37+
38+
* **Keep your token secure:** Never expose your Hugging Face token in client-side code.
39+
* **Use environment-specific tokens:** Separate dev, staging, and production access.
40+
* **Open-source flexibility:** Models can be run fully locally or through Hugging Face’s hosted endpoints.
41+
* **Broad ecosystem:** Hugging Face supports thousands of community and commercial models for rapid prototyping and production use.
42+
```
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
tags: AI
3+
description: Connect your apps to Langchain for advanced AI capabilities.
4+
---
5+
# Langchain Integration
6+
The **LangChain Integration** allows your app to leverage the power of [LangChain](https://langchain.com/), a popular open-source framework for building applications with large language models (LLMs). Once connected, your app can orchestrate complex AI workflows, chain together multiple model calls, and integrate with various data sources and tools seamlessly.
7+
8+
9+
You can:
10+
11+
* **Chain model calls together** to create multi-step reasoning flows.
12+
* **Connect multiple providers** (e.g., OpenAI, Anthropic, Gemini, Groq) through a single interface.
13+
* **Build intelligent agents** that can use tools, call APIs, or access external data sources dynamically.
14+
* **Work with structured data** by combining LLMs with databases, vector stores, and retrieval systems.
15+
* **Create RAG (Retrieval-Augmented Generation)** pipelines to ground model outputs in your own data.
16+
* **Integrate tools and memory** so models can reason over past interactions and context.
17+
* **Deploy reusable components** like prompt templates, chains, and agents for production-grade applications.
18+
19+
LangChain essentially acts as a **“glue layer”** between language models, data, and logic — enabling teams to build more **powerful and reliable AI apps** without reinventing core orchestration features.
20+
21+
22+
## Configure the Integration in Your App
23+
24+
1. Click the **Settings** gear icon and navigate to the **Integrations** tab.
25+
2. Find and enable the **LangChain** integration.
26+

pcweb/components/docpage/sidebar/sidebar_items/ai.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,22 @@ def get_ai_builder_integrations():
6565
"Integrations",
6666
children=[
6767
ai_builder.integrations.overview,
68-
ai_builder.integrations.github,
68+
ai_builder.integrations.airtable,
69+
ai_builder.integrations.anthropic,
70+
ai_builder.integrations.azure_auth,
71+
ai_builder.integrations.cartesia,
72+
ai_builder.integrations.cohere,
6973
ai_builder.integrations.database,
7074
ai_builder.integrations.databricks,
71-
ai_builder.integrations.azure_auth,
72-
ai_builder.integrations.okta_auth,
75+
ai_builder.integrations.descope,
76+
ai_builder.integrations.gemini,
77+
ai_builder.integrations.github,
7378
ai_builder.integrations.google_auth,
79+
ai_builder.integrations.groq,
80+
ai_builder.integrations.hubspot,
81+
ai_builder.integrations.huggingface,
82+
ai_builder.integrations.langchain,
83+
ai_builder.integrations.okta_auth,
7484
ai_builder.integrations.open_ai,
7585
ai_builder.integrations.resend,
7686
],

0 commit comments

Comments
 (0)