Settings reference

Where settings live

Configuration is held in two hierarchy custom settings. Create the organisation default record for each after install.

Both are hierarchy settings, so you can override values per profile or user if needed, but the org default record is what most orgs use.

3B Forms General Settings

Field Type Default Purpose
AI Provider Text openai Which AI vendor to use. One of openai, azure, deepseek, gemini, claude
AI Supplier Key Text none Your AI provider API key. Never exposed in plain text in the browser
3B AI Endpoint URL https://ai.3bapi.com/ai The managed AI proxy all AI calls route through
AI Thinking Model Text gpt-4o-mini The model used for form building and every AI operation that does not read a document or image. Previously labelled 3B AI Model Name (the API name X3B_AI_Model_Name__c is unchanged). Falls back to AI Vision Model when blank
AI Vision Model Text blank The model used whenever a request carries a document or image: Documents AI uploads, and AI Assistant turns with an attachment. Falls back to AI Thinking Model when blank
3B AI User Prompt (File Extraction) Text area none Optional extra instruction added to document extraction
Azure AI Endpoint URL none Azure resource endpoint, required only for the azure provider
Azure AI Version Text 2024-02-01 Azure API version, used only for the azure provider
Files Endpoint URL https://files.3bapi.com Managed service for uploading and retrieving files over 3 MB. Required
Captcha Site Key Text none Public reCAPTCHA site key surfaced to forms
Captcha Secret Key Text none Private reCAPTCHA secret used only server side for verification
Captcha Verify URL URL Google verify endpoint The verification endpoint the server posts tokens to
Google Maps API Key Text none Enables address autocomplete. Stored in the field labelled API Password
Customer Logo URL none Logo shown on forms. Serve it from a static resource on your site
Authorization Session Length Number 3600 Intended guest session length in seconds
Send Debug Emails Checkbox true Sends diagnostic emails to 3B to improve the product. Uncheck to opt out

Deprecated general settings

These fields remain in the package for backward compatibility but are no longer used by active code. Leave them at default.

Security Settings

This is a protected custom setting.

Field Type Default Purpose
API Username Email none Deprecated. Not used by current versions. Clear any stored value
API Password Text none Deprecated. Not used by current versions. Clear any stored value
API Token Text none Deprecated. Not used by current versions. Clear any stored value

Other fields in this setting are managed by the package. Leave them at their defaults.

Notes on the AI settings

All AI calls, regardless of provider, go through the managed proxy named in 3B AI Endpoint, using the model in AI Thinking Model, or the one in AI Vision Model when the request carries a document or image. Either field falls back to the other when blank, so an org with only one of them set behaves as before. The provider is communicated to the proxy through the AI Provider value. The Azure endpoint and version fields are only forwarded to the proxy when the provider is azure; they are not used as the primary endpoint. Your AI keys are never exposed in plain text in the browser.

Choosing a provider and model

Provider value Notes
openai Recommended
azure Also set Azure AI Endpoint and Azure AI Version
deepseek Reads images (JPEG, PNG, GIF, WebP) but not PDF files directly. Set AI Vision Model to a vision model such as deepseek-flash. Documents AI converts the first 10 pages of a PDF to images in the user's browser before sending them. The builder AI Assistant sends the selectable text of an attached PDF instead, so a scanned PDF must be attached as an image
claude Recommended
gemini Supported, but the builder's AI Assistant runs noticeably slower with it because it proceeds in smaller steps

The builder's AI Assistant is an agentic workload with many tool calls, long context and strict structured output. Choose a capable model in AI Thinking Model: small or heavily quantised models tend to loop, produce malformed output, or run out of steps before finishing. Reading an attached PDF or image requires a model with file or image input in AI Vision Model; note that a turn with an attachment runs entirely on that model, so it must also be capable enough to build the form. See AI assisted form building.