Installation
Install Smart Agents from AppSource or deploy on-premises
Smart Agents can be installed from Microsoft AppSource for cloud (SaaS) environments or deployed manually for on-premises installations.
AppSource Installation (SaaS)
This is the recommended installation method for Business Central Online (SaaS) environments.
Prerequisites
- Business Central 2024 Wave 2 (v25) or later
- EXTEN. MGT. - ADMIN permission set (to install extensions)
- A Smart Agents subscription (or start a free trial)
Steps
- Open Business Central and use the search bar to navigate to Extension Management
- Click Marketplace to open the AppSource marketplace within Business Central
- Search for "Smart Agents"
- Click Free Trial to start a trial, or Get it now if you have an active subscription
- Review the permissions the extension requires and click Install
- Wait for the installation to complete — this typically takes 1-2 minutes
- Once installed, you will see a notification confirming the extension is ready
- The Setup Wizard launches automatically — see Configuration to continue
Verifying the Installation
After installation, verify the extension is active:
- Navigate to Extension Management
- Find "Smart Agents" in the list
- Confirm the status shows Installed
- Confirm the version matches the latest release (1.0.0.0)
If the extension is listed but shows an error status, see Troubleshooting.
On-Premises Installation
For Business Central on-premises deployments, the extension is installed manually using the Business Central Administration Shell or the Extension Management page.
Prerequisites
- Business Central Server version 25.0 or later
- Administrator access to the BC server instance
- The Smart Agents extension package file (
SmartAgents_1.0.0.0.app) - Network access from the BC server to
api.agent.net.aion port 443
Download the Extension Package
- Log in to the Smart Agents Portal at smart.agent.net.ai
- Navigate to Downloads > BC Extension
- Download the
.appfile for your Business Central version
Install via Administration Shell
Open the Business Central Administration Shell and run the following commands:
# Publish the extension to the server instance
Publish-NAVApp -ServerInstance BC250 -Path "C:\Extensions\SmartAgents_1.0.0.0.app" -SkipVerification
# Sync the extension (creates database schema)
Sync-NAVApp -ServerInstance BC250 -Name "Smart Agents" -Version 1.0.0.0
# Install the extension for all tenants
Install-NAVApp -ServerInstance BC250 -Name "Smart Agents" -Version 1.0.0.0For multi-tenant environments, install per-tenant:
Install-NAVApp -ServerInstance BC250 -Name "Smart Agents" -Version 1.0.0.0 -Tenant tenant1Install via Extension Management Page
Alternatively, upload the extension through the Business Central web client:
- Navigate to Extension Management
- Click Manage > Upload Extension
- Select the
.appfile and click Deploy - Accept the schema synchronization prompt
- Wait for deployment to complete
Network Configuration
The BC server must be able to reach the Smart Agents API. Ensure the following is configured:
- Outbound HTTPS (port 443) to
api.agent.net.aiis allowed in your firewall - If using a proxy server, configure the BC server's proxy settings to route traffic to
api.agent.net.ai - TLS 1.2 or later must be enabled on the BC server
To test connectivity from the server:
Test-NetConnection -ComputerName api.agent.net.ai -Port 443Certificate Configuration
If your on-premises environment uses custom SSL certificates or a private certificate authority:
- Ensure the Smart Agents API certificate chain is trusted by the BC server
- Add the root CA certificate to the server's Trusted Root Certification Authorities store if needed
- The extension uses the .NET
HttpClientfor API calls, which follows the system certificate trust chain
Updating the Extension
SaaS Environments
AppSource extensions are updated automatically by Microsoft during the BC update cycle. You can also manually trigger an update:
- Navigate to Extension Management
- Find "Smart Agents" and check if an update is available
- Click Update to install the latest version
On-Premises Environments
To update an on-premises installation:
# Publish the new version
Publish-NAVApp -ServerInstance BC250 -Path "C:\Extensions\SmartAgents_1.1.0.0.app" -SkipVerification
# Sync the new version (migrates schema)
Sync-NAVApp -ServerInstance BC250 -Name "Smart Agents" -Version 1.1.0.0
# Upgrade from the old version
Start-NAVAppDataUpgrade -ServerInstance BC250 -Name "Smart Agents" -Version 1.1.0.0
# Unpublish the old version
Unpublish-NAVApp -ServerInstance BC250 -Name "Smart Agents" -Version 1.0.0.0Uninstalling the Extension
SaaS Environments
- Navigate to Extension Management
- Find "Smart Agents"
- Click the three dots (...) and select Uninstall
- Confirm the uninstall action
Uninstalling removes the extension and its data from the environment.
On-Premises Environments
# Uninstall the extension
Uninstall-NAVApp -ServerInstance BC250 -Name "Smart Agents" -Version 1.0.0.0
# Unpublish the extension
Unpublish-NAVApp -ServerInstance BC250 -Name "Smart Agents" -Version 1.0.0.0To remove all data stored by the extension, add the -ClearSchema flag to Sync-NAVApp before unpublishing. This is irreversible.