# Connecting Prometheus

**Apica Ascent** also supports external **Prometheus** data sources. If you have any hosted Prometheus in cloud or on-premises, you can connect that in Apica Ascent as a data source. you can use your existing queries in Apica Ascent to build dashboards and create alerts.

### Create Prometheus Data Source

Click on the "Prometheus" data source.

![List of Datasources](/files/p5YOEF1Z7rAnhCx83FdS)

Provide the Prometheus URL, Name and click "Save". Now you are ready to create dashboards and alerts. Read about how to query Prometheus data in the [PromQL](/observe/prometheus/querying-data.md) section.

![Adding a Prometheus Datasource](/files/V3mscueo572mGrHQPayw)


---

# 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.apica.io/observe/prometheus/connecting-prometheus.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.
