# Access (Unit) Data

With the recent "Account" feature released (see [Release UP-29-22](https://www.travelclickwebproduct.com/updates/galaxy-product-updates/release-up-29-22)), the way to access unit data has changed. You can read [the full article on Accounts here](https://www.travelclickwebproduct.com/website/accounts).

Before, as an admin, you could open the Bento menu and click on "Data" to access the list of master brands, this is not the case anymore.

> We’ve also renamed “Unit” to “Data” for consistency with the “Data” menu section at website level. This “Data” icon is still accessible from the Galaxy top-left Bento menu, however, you’ll have to have first selected an Account for this icon to become [active/clickable](https://i.imgur.com/xnXhxFc.png). This means that **the Data section will always be in-context of the Account. It's no longer possible to access All Data like before, you will always enter the Data of a specific Account. Master Brand creation is now done at Account level.**

<figure><img src="https://3028197268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYM6a76uZePOTen0dIw-887967055%2Fuploads%2FrATWlhfK9ggJf4pBLTyl%2Fgalaxy-accounts.excalidraw.png?alt=media&#x26;token=0e79ac56-e6bc-4ef0-9b85-bcb5699dee74" alt=""><figcaption></figcaption></figure>

If you are in an old environment, and the data is not mapped correctly, please contact us with the issue so we can evaluate what can be done.

Here is some info

* an already existing Master Brand without an account can not be added to an Account. This is only doable in DB by xo7 and is very exceptional
* an already existing website without an account can not be added to an Account. This is only doable in DB by xo7 and is very exceptional

### Old dev environments without Account mapping

In the old dev environments, the data is sometimes not linked properly to websites, and it prevents you from accessing the data properly.

You can spot this by looking at the header, if the "Account" shows the name of an account

<figure><img src="https://3028197268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYM6a76uZePOTen0dIw-887967055%2Fuploads%2FH02s2T0eRalJehSNdOfU%2Faccount-corrupted.jpg?alt=media&#x26;token=a4a90da2-4854-40fc-bfa3-356b9f8f9131" alt=""><figcaption><p>Account is empty in the header, indicating that the data is corrupted</p></figcaption></figure>

In this case, if you need in your dev environment to edit master brand data (for example, the list of amenities), there is a way to "cheat".

This should only be done on your dev environment to unblock you.

1 - Follow documentation to:[#create-new-environment-in-the-backoffice](https://galaxy-cms.gitbook.io/project/advanced/page-block-environment-tagging#create-new-environment-in-the-backoffice "mention")

Create a new environment `master_item`

Use `master_item` for "`name`" and "`cle`". For the description, you can put anything.

<figure><img src="https://3028197268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYM6a76uZePOTen0dIw-887967055%2Fuploads%2FlM8vYHKYhhSOGBGhlQ06%2Fmaster_item_config.png?alt=media&#x26;token=32417224-c9f3-4cb5-b33c-d831dffaf699" alt=""><figcaption></figcaption></figure>

**2 - Edit your user (admin view)**

Bento menu > Admin > Admin (sidebar) > User

Use the search to find your user

Scroll to the section "**Configuration**", and in the field "**Environment**", add `master_item` and save

![](https://3028197268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYM6a76uZePOTen0dIw-887967055%2Fuploads%2FrqDTZT6y9cjvcapAvfi9%2FCleanShot%202022-09-01%20at%2017.27.07%402x.jpg?alt=media\&token=8f9de144-7c78-41dd-8561-6879a9c16625)

With this environment added to your user, you will be able to see the Master Brand in the sidebar of all websites.

<figure><img src="https://3028197268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYM6a76uZePOTen0dIw-887967055%2Fuploads%2FUmqXSqPL1hINeWEot84c%2Fenvironment-master-item.png?alt=media&#x26;token=5d101025-b824-4115-b244-cc8223b05f43" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
This is a debug tip, to unblock you. Please **only use this on your dev environment**, if you need to edit Master Brand data and you are blocked. \
When you don't need it anymore, we advise removing the environment from your user profile.
{% endhint %}
