LangChain is a framework for developing applications powered by language models. Integrate CloudSlurp to give your LangChain agents access to Salesforce, QuickBooks, HubSpot, and other business data.
This guide shows you how to create custom LangChain tools that query CloudSlurp, enabling your AI applications to work with real-time business data.
pip install langchain langchain-openai) Navigate to the Install page in your ContextGate workspace. Click "View API Token" and copy your bearer token for authentication.
💡 Your token can be found on the Install page .
Keep your bearer token secure! Never commit it to version control.
On the Install page, you can customize which tools, connections, and datasets are available through CloudSlurp. This allows you to:
Toolbox Manager Interface:

Install LangChain and required packages:
Create a custom LangChain tool that queries CloudSlurp:
Create an agent that uses the CloudSlurp tool:
Create specialized tools for specific datasets:
Try these example queries with your agent:
"What are the top 5 Salesforce opportunities by amount?"
"Show me unpaid QuickBooks invoices from the last 30 days"
"Get HubSpot contacts created this month and their email addresses"
| Endpoint | Method | Description |
|---|---|---|
| /v1/query | POST | Query data from connected apps |
| /v1/connections | GET | List available connections |
| /v1/resources | GET | List datasets for a connection |