# View IoTHub MQTT Access

{% hint style="success" %}
Note: Accessible to Admins, Tenants and Viewers.
{% endhint %}

## Analyze your Environment with IoT Hub Access <a href="#scrutinize-your-environment-with-iot-hub-access" id="scrutinize-your-environment-with-iot-hub-access"></a>

To view your IoT Hub Access, make sure you have an activated account on Fogwing IIoT Platform along with application, edge and IoT Hub Access created prior. Having created an IoT hub Access, you will be able to receive data generated by the edge to Data storage from where it is easily accessible. You probably just want to view your credentials given to you by us, do not worry as we provide you facility to view the same.&#x20;

To View your IoT Hub Access:

1. Login to your Fogwing account through web control center.&#x20;
2. The Home page will appear after you log in to your Fogwing account.
3. Toward the left side of the Home page, click on Edge Network. a menu list will slip down.
4. Select 'IoT Hub Access' from the Edge Network menu list. You will be directed to IoT Hub Access list view page.&#x20;
5. On the right end of each IoT hub Access you have created is a 'View' button, click on that.
6. Upon clicking view button, you will arrive on the 'View IoT hub Options page'.
7. Here you can choose either MQTT or API.  Select MQTT option now.
8. This is where you can find your MQTT access credentials and various other details that have enabled you to transfer data from edge to data logs/cloud.

{% hint style="danger" %}
Note: Once IoThub access created, You can only view your IoT hub Access but you cannot Modify or Edit anything. You can only Add, View and Delete IoT hub Access.
{% endhint %}

![MQTT Access Page shows the MQTT Client Connection Details Required.](/files/-MDc7cvqAW3rh6sYmpa0)

In the above image, Block 1 represents general MQTT access information such as IP/Domain name, port number and publishing topics.  If you are subscribed to "Startup" or "Growth" plan then you can also see the subscription topic.&#x20;

Block 2 shows the authorized edge device details include name, model, MAC ID and EUI ID. The copy button helps to copy / paste the details through clipboard.&#x20;

Block 3 shows the Fogwing IoThub generated Client ID and Username which are required to make any MQTT client connection from the edge devices.&#x20;

Block 4 shows the sample data in JSON format. This sample data also includes your edge device EUI and Client ID for message level authorization. Without EUI and Client ID, message will not be processed by Fogwing IoThub.

{% hint style="info" %}
Please note that Fogwing IoThub will support only JSON format device messages. It is responsibility of the device to form the JSON format and send to IoThub over MQTT or APIs.&#x20;
{% endhint %}

{% hint style="danger" %}
Note: **By default, TLS/SSL is enabled for IoT hub Access. This is to ensure 128 bit secure encryption channel.**
{% endhint %}


---

# 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.fogwing.io/fogwing-platform/manage-iot-hub-access-as-an-admin-user/view-iot-hub-access.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.
