Skip to main content
This guide covers what IT teams need to know to evaluate, deploy, and integrate Circuit.

Security at a glance

Circuit is designed with enterprise security in mind:
  • Authentication via Google or Microsoft identity providers with SSO support
  • Data isolation: each workspace’s indexes are stored in a separate, isolated database
  • Encryption in transit (TLS) and at rest
  • Role-based access control at the workspace, index, and agent levels
  • API key scoping with optional domain restrictions for embedded chat widgets
For a detailed breakdown, see the security overview.

Embed the chat widget

The fastest way to add Circuit to your website is a single script tag. You’ll need an API key from your Circuit agent.
<script src="https://build.app.circuit.ai/chat-widget/circuit-chat-widget.iife.js?apiKey=YOUR_AGENT_KEY"></script>
The widget appears as a chat button in the bottom-right corner of your page. It handles chat sessions, streaming responses, and citation rendering automatically.
The API key is agent-specific. Create one from the agent’s settings in Circuit. You can restrict it to specific domains for security.
For full setup details, see embedding the chat widget.

Next steps