Skip to content

Setup & embed

Open in ChatGPT Open in Claude
flowchart LR
  A["Enable agent"] --> B["Fill in details<br/>name, key, product"]
  B --> C["Copy snippet"]
  C --> D["Paste before &lt;/body&gt;"]
  D --> E["Agent live"]
  style E fill:#1842ef,stroke:#1842ef,color:#ffffff

Path: Agent Studio → Setup

Setup is where you activate your agent and get the code to embed it in your product.

Toggle Agent status to Enabled or Disabled. When disabled, the widget is hidden from all users — useful during maintenance or major configuration changes.

FieldPurpose
Internal Agent NameName shown in the Foldspace dashboard (not user-facing)
Agent KeyUnique identifier used in the embed code
Product NameThe product the agent supports
Product DescriptionContext about your product given to the AI to ground its responses

Copy the code snippet and paste it into your product’s HTML before the closing </body> tag. You can pass user attributes (name, email, subscription plan) via JavaScript to personalize responses.

For the code-level details, including identity verification and configuration options, see the developer Setup guide.