Building an app
Start an app from a prompt, an example or a map, and refine it with the assistant
Start an app
Go to Applications and use the box at the top of the page. You can start in three ways:
From a prompt. Describe the app and the data it should use, and send it.
From an example. Until you have apps of your own, Applications shows an Examples gallery. Select one to get your own copy, then ask the assistant to change it or to use your data.
From a map. Select Attach > Map and choose one of your Builder maps. The assistant reads its layers and styling and rebuilds it as an app.

Before you send the prompt, you can also:
Pick a style to give the app a starting look. You can pick a new one later from the chat.
Attach the tables to use (Data source), a map, or an image such as your logo (Visual asset).
Choose a different model. By default the assistant uses the model your Admin set for AI Assistant in App Studio in Settings > CARTO AI.
The app opens in the studio and the assistant starts building.
Write a good first prompt
Give the assistant what you would give a developer:
Who uses it, and for what. "A tool for our underwriters to review new submissions one at a time."
The data. Name the tables or attach them. If you don't know where the data is, describe it and the assistant searches your connections.
The steps. What people look at, what they decide, and what gets saved. "Show the property with its flood and wildfire risk, let the underwriter approve or refer it with a comment, and save the decision to the
underwriting_decisionstable."The look, if it matters to you.
Start with the core of the app and add the rest in follow-up messages. Small, specific requests work better than one long list of changes.
The studio
The chat is on the left and the app on the right. While the assistant works, the chat shows each step, such as exploring data, adding a data source or editing a file.
The right side has three tabs:
Preview runs the app on your real data and reloads after each change. Select the pointer button and click an element, such as a chart or a legend, to refer to it in your next message. You can also check the mobile layout or open the preview in a new tab.
Code shows the app's files. They are read-only: to change something, ask the assistant.
Data lists the tables and named sources the app uses. See Data in your app.
If something doesn't work in the preview, select Show console to see the errors. The assistant reads them too, so you can ask it to fix them.
To rename the app, edit its name at the top of the studio. To start a new chat without changing the app, select Clear conversation.
Tips
Point at what you mean. Pick the element in the preview, or attach the right table if the assistant chose the wrong one.
Describe what you see. "The map is empty after I pick a region" helps more than "fix the filter".
Go back when a change goes wrong. Restore the previous version and try a different prompt.
Last updated
Was this helpful?
