> For the complete documentation index, see [llms.txt](https://docs.cybus.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cybus.io/1-7-2/documentation/resources/mappings.md).

# Mappings

Mappings describe the mapping of data from one topic to another, i.e. the data flow between e.g. devices and processing rules.

See also: [Cybus::Mapping resource](/1-7-2/documentation/services/structure-of-commissioning-files/resources/cybus-mapping.md)

## Overview

<figure><img src="https://4142639966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fj06nwrOaOPonB577Xs%2Fuploads%2Fgit-blob-008c1e0790c902f4d77e0cc83b5a9f16cf062bd1%2Fmappings_overview.png?alt=media" alt=""><figcaption></figcaption></figure>

By clicking on one of the listed mappings you get redirected to the [Details View](#details-view) of the selected mapping.

## Details View

<figure><img src="https://4142639966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fj06nwrOaOPonB577Xs%2Fuploads%2Fgit-blob-55680bc7309012ffa68abb763db8242cab0e67e3%2Fmappings_details.png?alt=media" alt=""><figcaption></figcaption></figure>

The mapping has resources itself. In this case there are only Mappings.

<figure><img src="https://4142639966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fj06nwrOaOPonB577Xs%2Fuploads%2Fgit-blob-83b861387ebc042f57c517e8422b14e0cd61ae40%2Fmappings_details_open.png?alt=media" alt=""><figcaption></figcaption></figure>

See also: [Mappings in the service commissioning file](/1-7-2/documentation/services/structure-of-commissioning-files/resources/cybus-mapping.md)

{% hint style="warning" %}
MQTT shared subscriptions are disabled on the Mapping entries view for the smooth operation of other clients possibly subscribed to the same topics.
{% endhint %}

<figure><img src="https://4142639966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fj06nwrOaOPonB577Xs%2Fuploads%2Fgit-blob-73956274d8d78815e07a920a9a6dc1a79f98216c%2Fmappings_details_shared_subscriptions.png?alt=media" alt=""><figcaption></figcaption></figure>

### Mappings

These are the actual mappings from endpoint to topic, or vice versa, that have been specified.


---

# 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 by asking a question.

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

```
GET https://docs.cybus.io/1-7-2/documentation/resources/mappings.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 `automate deployments from our CI pipeline` 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.
