# Analytics Toolbox for Databricks

The **CARTO Analytics Toolbox for Databricks** extends your Databricks environment with additional geospatial capabilities, including geocoding, routing, and isoline generation through Location Data Services.

<figure><img src="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2F64bSXoBh6Uxqps0l2AFR%2Fimage.png?alt=media&#x26;token=d064d0dc-68d7-4d49-865c-843e3449c713" alt=""><figcaption></figcaption></figure>

## Available modules

The Analytics Toolbox currently includes:

* **Location Data Services (LDS)** - Geocoding, reverse geocoding, isoline generation, and routing powered by third-party services.
* **Gateway** - An internal module with API integration functions for connecting to CARTO services.

{% hint style="info" %}
For spatial operations like buffers, intersections, and transformations, you can use Databricks' native [spatial SQL functions](https://docs.databricks.com/en/sql/language-manual/sql-ref-geography-spatial-functions.html) directly. These work seamlessly with CARTO's Databricks connection.
{% endhint %}

## Requirements

* [Unity Catalog](https://docs.databricks.com/en/data-governance/unity-catalog/index.html) enabled in your Databricks workspace
* A [SQL Warehouse](https://docs.databricks.com/en/compute/sql-warehouse/index.html) provisioned in your workspace

## Getting started

Visit the [Getting access](https://docs.carto.com/data-and-analysis/analytics-toolbox-for-databricks/getting-access) section for installation instructions.

## Reference

Check the [SQL Reference](https://docs.carto.com/data-and-analysis/analytics-toolbox-for-databricks/reference) for the complete list of available functions.


---

# Agent Instructions: 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 current page URL with the `ask` query parameter:

```
GET https://docs.carto.com/data-and-analysis/analytics-toolbox-for-databricks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
