AI assistant
Turn on the AI assistant
Turn on the optional AI assistant with your own provider and key, choose what it may share, give consent, and follow usage and cost in the AI pages.
updated: applies-to: 1.0.0.0
The AI assistant writes, explains and fixes AL and drafts SQL. It is off until an administrator turns it on, and it uses your organization's own AI provider and key.
Turn it on
- Open Studio Setup, AI Assistant section.
- Choose the Assistant Provider: Anthropic (Claude), Azure: Claude on Microsoft Foundry, Azure OpenAI, OpenAI, or Sign in with ChatGPT. Enter the model, and for Azure the endpoint, deployment and authentication.
- Choose Set Key and paste your key. It is stored in isolated storage and never shown again.
- Choose Test Connection.
- Review Assistant Data Sharing. The default, Code and metadata only, never sends record values.
- Choose Give Data-Sharing Consent, then turn on Assistant Enabled.
Use it
Open the assistant panel in Code Studio, or the AI Assistant tile. Proposals are applied only when you accept them, and every write still goes through the Security Guard.
Keep track
AI Conversations, AI Assistant Usage, AI Model Prices and Assistant Feedback show what was asked, the tokens used and the estimated cost. Revoke Consent turns data sharing off again.
Bitta Studio Agent
The optional Bitta Studio Agent is a Business Central agent that can answer SQL report requests. Set it up from the Bitta Studio Agent section of Studio Setup.
NOTE
In Business Central online, also turn on Allow HttpClient Requests for the app in Extension Management, Configure.