# 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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2Ftpl0fNYiwL8JqYKPb2kV%2F01-Drag-Drop-Connector.PNG?alt=media\&token=d2202a98-ecbc-4f09-8e79-dd8c305423f7)

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

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FDvWKXZNa2DUmTG5ePcMK%2F02-Context-Menu.PNG?alt=media\&token=acf634ac-5e87-4a77-90fd-44d07a522404)

This will open the properties screen.

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FDcWFET21zu0SX7G4dtNJ%2F03-Properties.PNG?alt=media\&token=21cab8dd-d1d4-4d5c-8847-14f20b4a9b20)

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

This will show us the following,

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FnqHunb7Mz0kcO677IZMc%2F05-Selected-Provider.PNG?alt=media\&token=830ddb41-562e-4d71-a1c2-8d915586afa7)

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

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FCOCBdkIfv11pR7HHEpdf%2F06-01-Select-Access-Key.PNG?alt=media\&token=8c434e08-6b81-4a34-85f9-4b1386004f10)

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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FaKLvs75F4y9UVIo3AAJC%2F06-Adding-Creds.PNG?alt=media\&token=a9c5b139-ef4b-4aa8-9ad6-9c96250edd21)

*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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2Fkmhuj89pCZlLhXoSQ7hw%2F07-Test-Connection.PNG?alt=media\&token=fabe1d7d-ddc8-4353-ad09-ee2e498efb35)

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FtZCWo1rJkMGXgcX9Ppql%2F08-Configured-Object.PNG?alt=media\&token=acc8f90c-8a0e-4612-b5e2-f36491d889e3)

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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FdZGSVgvv9xrErWViBrEU%2F09-Drop-Delimtied.PNG?alt=media\&token=839236fb-ea24-44b8-9749-9186e459fe17)

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

This will open the properties screen.

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FKfgXiqmr9u0V4dTUOkfN%2F10-Properties-Menu.PNG?alt=media\&token=881e3229-7534-40d1-ae6a-6592f1046089)

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

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FLx2FOL6YQRDqie6M1Bbw%2F11-Browse-Cloud-Files.PNG?alt=media\&token=4a2a5b0c-074a-4404-9065-c24dd216bc66)

This will open a new window.

Here, you can see our defined connection,

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2F6Kt2XlVLD7Rip54QYOcB%2F12-Data-Lake-Browse.PNG?alt=media\&token=9ea38fee-218e-42d8-9b57-b8f2e7bd3e36)

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

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FsTDlKkYGvvQnRxJ6lBUp%2F13-Tested.PNG?alt=media\&token=d31f71c4-1b5b-424b-95ae-6b881db34edc)

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