Connect two real services, delegate OAuth to your users, and ship a working agent in minutes. Clone the sample, swap in your tools, and go from zero to multi-connector in a single afternoon.
This repo uses a single SCALEKIT_USER_ID env var to simulate one user. In production, pass each user's real ID as the identifier on every Scalekit call, and send them an authorization link whenever their connector status is not ACTIVE. HubSpot's 30-minute token expiry is handled automatically.
tools = client.actions.langchain.get_tools(
identifier="user@example.com",
connection_names=["hubspot", "slack"],
)
Two things you'd otherwise build: HubSpot OAuth with 30-minute refresh and Slack credentials per user. Handled.
tools = client.actions.langchain.get_tools(
identifier=user_id,
connection_names=["hubspot", "slack"],
)
agent = create_tool_calling_agent(llm, tools, prompt)client = ScalekitClient(
env_url=os.environ["SCALEKIT_ENV_URL"],
client_id=os.environ["SCALEKIT_CLIENT_ID"],
client_secret=os.environ["SCALEKIT_CLIENT_SECRET"],
)
# Credentials never in agent code or LLM context# Day 1 or day 180 — same call works
tools = client.actions.langchain.get_tools(
identifier=user_id,
connection_names=["hubspot", "slack"],
)Each one runs on delegated identity, scoped per user.
Don't sweat the integration. Point a coding agent at the repo. It clones, swaps in your connectors, and adds new steps for you.
Clone github.com/scalekit-inc/python-connect-demos/langchain. Set connection_names = ["hubspot", "slack"]. Build a CRM digest pipeline: fetch HubSpot deals modified in the last 24 hours, diff against a local snapshot, group changes by owner, send a personalized Slack DM to each rep using their own Slack identity (not a bot). Map HubSpot owner IDs to Slack user IDs per tenant. Set SCALEKIT_ENV_URL, SCALEKIT_CLIENT_ID, SCALEKIT_CLIENT_SECRET in .env.