> For the complete documentation index, see [llms.txt](https://docs.carto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.carto.com/carto-for-developers/guides.md).

# Guides

After you've become familiar with the [key concepts](/carto-for-developers/key-concepts.md) of CARTO for Developers, and after your first experiments with [CARTO + deck.gl](https://github.com/CartoDB/gitbook-documentation/blob/master/carto-for-developers/key-concepts/carto-for-deck.gl) and our [APIs](/carto-for-developers/reference/carto-api.md), it's time to build complete solutions.

To help you design your solution and understand how the different pieces work together, we've build these complete **guides,** based on real use cases:

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Build a public application</strong></td><td>Using CARTO to quickly build a simple and performant geospatial application that everyone in the internet can access</td><td></td><td><a href="/carto-for-developers/guides/build-a-public-application.md">Build a public application</a></td><td><a href="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2Fgit-blob-683ba7ee8e90be36bab4099756fdbefc744dae0a%2FPublic%20App.png?alt=media">Public App.png</a></td></tr><tr><td><strong>Build a private application</strong></td><td>Design and develop an application that only users in your CARTO organization will be able to access, after they log in</td><td></td><td><a href="/carto-for-developers/guides/build-a-private-application.md">Build a private application</a></td><td><a href="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2Fgit-blob-3b393af6fe6a94c34442370632348acf16b07286%2FPrivate%20App%20Guide%20Diagram.png?alt=media">Private App Guide Diagram.png</a></td></tr><tr><td><strong>Build a private application using SSO</strong></td><td>Leverage an external identity provider setup in CARTO to authenticate new and existing users in your private application</td><td></td><td></td><td><a href="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2Fgit-blob-beef2db09d6a2b3b0336c78c25af450f58038d1b%2FFrame%201%20(7).png?alt=media">Frame 1 (7).png</a></td></tr><tr><td><strong>Hosting your application in CARTO</strong></td><td>Let CARTO host your application and sign in its users, so it is only accessible to people in your CARTO organization</td><td></td><td><a href="/carto-for-developers/guides/build-a-hosted-application.md">Hosting your application in CARTO</a></td><td></td></tr><tr><td><strong>Visualize massive datasets</strong></td><td>Learn how to visualize massive geospatial datasets in a performance and cost-effective way (up to billions of rows)</td><td></td><td><a href="/carto-for-developers/guides/visualize-massive-datasets.md">Visualize massive datasets</a></td><td></td></tr><tr><td><strong>Integrate CARTO into your existing application</strong></td><td>Learn how to securely embed CARTO into your existing architecture providing fine-grained data access</td><td></td><td><a href="/carto-for-developers/guides/integrate-carto-in-your-existing-application.md">Integrate CARTO in your existing application</a></td><td><a href="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2Fgit-blob-a4a5b9e8f6863beaf527f2320720aecc1be6ca48%2FIntegrate%20CARTO%20in%20your%20existing%20application.png?alt=media">Integrate CARTO in your existing application.png</a></td></tr><tr><td><strong>Use Boundaries in your application</strong></td><td>Create rapid aggregation of large data volumes within common or custom geographic boundaries such as zip codes</td><td></td><td><a href="/carto-for-developers/guides/use-boundaries-in-your-application.md">Use Boundaries in your application</a></td><td><a href="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2Fgit-blob-e9b5a96322324f7c5258ecdbd880014a22b8a504%2FScreenshot%202024-03-27%20at%2013.12.52.png?alt=media">Screenshot 2024-03-27 at 13.12.52.png</a></td></tr><tr><td><strong>Avoid exposing SQL queries with Named Sources</strong></td><td>With Named Sources, you can ensure your application does not expose the SQL used, maximizing compliance in some setups</td><td></td><td><a href="/carto-for-developers/guides/avoid-exposing-sql-queries-with-named-sources.md">Avoid exposing SQL queries with Named Sources</a></td><td><a href="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2Fgit-blob-baba53355b7d22ed286e33e668b4d70ca0e5b14e%2FNamed%20Sources.png?alt=media">Named Sources.png</a></td></tr><tr><td><strong>Managing cache in your CARTO applications</strong></td><td>This guide covers how developers can adjust and manage the cache in their CARTO applications</td><td></td><td><a href="/carto-for-developers/guides/managing-cache-in-your-carto-applications.md">Managing cache in your CARTO applications</a></td><td><a href="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2Fgit-blob-99f7f5952d6564ad029f76132088066a11f7b9bd%2Fcache.png?alt=media">cache.png</a></td></tr><tr><td><strong>Build an AI-powered map application</strong></td><td>Add natural language map interaction to your CARTO + deck.gl application using AI-powered tool calling</td><td></td><td><a href="/carto-for-developers/guides/build-an-ai-powered-map-application.md">Build an AI-powered map application</a></td><td></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.carto.com/carto-for-developers/guides.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
