Create an application using Build Agent
Use Build Agent to develop a new ServiceNow application.
Avant de commencer
Install and enable the Build Agent. For more information, see Install Build Agent.
Create a workspace. For more information, see Create a workspace in the ServiceNow IDE.
Build Agent requires ServiceNow SDK version 4.0 at a minimum. If you’re using an older version, Build Agent prompts you to upgrade to ServiceNow SDK 4.0.
Remarque :
Build Agent currently doesn't support the Global scope or global applications.
Role required: admin
Procédure
Résultats
After the application is built and installed, the Build Agent displays a success message. For example:
From the Activity Bar, select the File Explorer view (
) to see the ServiceNow Fluent application code and other source code in the src directory. For example:

From the Activity Bar, select the Metadata Explorer view () to see the application metadata on the instance. For example:
| Issues | Description | Solution |
|---|---|---|
| Build not deployed | The Build Agent only deploys the latest successful build. If your updates aren’t available after deployment, it may indicate that the build failed, even though the deployment was successful. | Check the build status and note any error messages. Paste those error messages into the chat panel and ask the Build Agent to resolve the build issues and redeploy the application. |
| Empty UI page | When working on complex UI pages, the Build Agent may occasionally display an empty page. | Open the browser console, copy the error messages, and paste them into the chat panel. Then, ask the Build Agent to fix the UI page. The Build Agent assists you in both creating and debugging your applications. |
| Context limit exceeded | If something goes wrong while creating or updating your application, you have the option to retry. The Build Agent maintains a history of your session and can resume from the point of failure. However, if your chat window exceeds the context limit, you receive a 'Context Window Exceeded' error. | Open a new chat window and describe the application you want to create once again. Although the Build Agent doesn’t retain the context from the previous chat session, it reviews the work already done and continues from where it stopped. |
| Rate limit error | Another error you might encounter is the 'Rate limit error', which happens when the LLM provider receives too many requests to handle. | Wait for a minute or two before trying again. |