# Mapping

## Introduction

Mapping is a specialized component used to match expected [Data Entity](https://docs.astrakode.tech/akb-wiki/astrakode-wiki/smart-contract-ide/technologies/ethereum/components/data-entities) types with any currently available data entity in a Function's flow.&#x20;

A mapping works in the following way:&#x20;

* on the right-hand side, one is able to see the data entity type that the mapping expects.&#x20;
* On the left-hand side, the user is able to select or define a data entity to match (type-wise) to the one on the right-hand side.

<figure><img src="https://2858323203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FftQi2WH09aEf2MrrxVMT%2Fuploads%2FX2LZqjugFDoPw6kVodyN%2Fmap1.PNG?alt=media&#x26;token=171c1822-0879-46c0-9b54-da7715960fd8" alt=""><figcaption></figcaption></figure>

## Configuration

The Map ***From*** Data Entity is the data entity that must be selected or defined in order to match the expected data entity type.

The Map ***To*** Data Entity is the data entity (type) that the Mapping expects the Map From data entity to be matched to.
