# Configuring Azure Data Lake Gen 2

Azure Data Lake Gen 2 is a cloud-based big data storage and analytics solution provided by Microsoft Azure. It offers scalable and cost-effective storage for structured, semi-structured, and unstructured data.

The Azure Data Lake Gen 2 provider is present within the *Cloud Connector* object in Astera.

1. To start, drag and drop a *Cloud Connection* object from the toolbox onto a new dataflow.

{% hint style="info" %}
**Note:** Alternatively, you can create a new Shared Action file, place it in a project, and configure the *Cloud Connection* object there as well.
{% endhint %}

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/viXswePTUZ8VrjjlOpd2/01-Drag-Drop-Connector.PNG)

2. Right-click on the *Cloud Connection* object and select *Properties* from the context menu.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/F3uBu8AEbU9rz1uQDynM/02-Context-Menu.PNG)

This will open the properties screen.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/ZwsMHkJf6VRomcgbaAsu/03-Properties.PNG)

3. From the *Providers* drop-down menu, select *Microsoft Azure Data Lake Gen 2*

This will show us the following,

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/nT1LxAsYrJ96u67sK8JL/05-Selected-Provider.PNG)

4. Here, you can select the *Authentication Method* from the drop-down menu. We have the following options available here,

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/LntYZGgpBqcPQOFEPJB7/06-01-Select-Access-Key.PNG)

5. After selecting the *Authentication Method,* we can input the Storage Account Name and Access Key values as seen in the Azure Data Lake Gen 2 authentication document.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/wd2XdhhCLI8BtkXCekyS/06-Adding-Creds.PNG)

*Root Path*: It is to keep confidential data and information secure from access by unauthorized users. It lets you point out the file needed while protecting all other folders.

6. Select *Test Connection*, then click *OK,*

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/Re4B7ZiAfgAjTMtc2QaJ/07-Test-Connection.PNG)

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/0Y2VQYQXl6NtgISGi5q2/08-Configured-Object.PNG)

The *Cloud Connection* object has been configured with respect to the Azure Data Lake Gen 2 provider.

### Connecting to the Azure Data Lake Gen 2 Storage provider

1. To start, we drag and drop a *Delimited Source* object from the toolbox onto the dataflow,

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/4L11V9R7b32sJODHpc08/09-Drop-Delimtied.PNG)

2. Right-click on the object and select *Properties* from the context menu,

This will open the properties screen.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/hxW2GD6juXdXKZXHLtqX/10-Properties-Menu.PNG)

3\. Select the drop-down icon next to the folder icon in the *File Path* row and select *Browse Cloud Files*.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/0EGTHunb79Nd4wm1WNoV/11-Browse-Cloud-Files.PNG)

This will open a new window.

Here, you can see our defined connection,

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/os3BEUQoACq6cAB92vkl/12-Data-Lake-Browse.PNG)

4. Once we select our file and click on *Open*, they are configured with our source object,

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/LIjJvIvL7VzG9CHwKDlo/13-Tested.PNG)

This concludes the Azure Data Lake Gen 2 Storage provider configuration and testing in Astera Data Stack.
