Here are the steps to pull your Atlan catalog into Microsoft Excel.
Note: The steps in this article are only applicable for Windows systems.
Requirements:-
Simba presto ODBC Driver
Atlan Access Token
Microsoft Excel
Step 1. Get Access Token from Atlan
- Go to Atlan and click on your name on the top right and then click on Profile
- Click on Personal Access Tokens
- Click on Generate New Token and a window will open where the tool needs to be chosen. Choose Microsoft Excel as the tool.
- On the next screen, fill up the Application Name. Click on Generate to move ahead.
5. On the next screen, a token will be generated. Please copy this access token and save it on your system/share it with the relevant user (as required) as you would not be able to see it on Atlan again for security purposes.
Step 2. Setting up ODBC Connector
Download the Simba presto ODBC Driver 64 bit from Mac | Windows. Download Simba presto ODBC Driver 32 bit from here for Windows
Install “Simba Presto 1.1.pkg” package
Open the Start menu (or press the Windows key) and search for ‘ODBC Data Source Administrator’ (64-bit or 32-bit). Click on it.
Select Simba Presto ODBC DSN, and click on Configure.
In the window that opens up, fill up the following details in the given fields:
Authentication Type: No Authentication
User: Atlan Access Token generated in step 1
Host: https://<instance>-api.atlan.com
Port: 443
Catalog: hive
Schema: default
Within SSL options, check all the check box
Click the Test button and if successful, press OK
Step 3. Open Excel to get data from Atlan Catalog
Once you've completed the steps above, open Excel on your Windows device and follow steps given below to be able to fetch your Atlan catalog here:
Open a blank workbook in MS Excel and click on the Data tab.
Select Get Data option -> From Other Sources -> From ODBC
- As soon as ODBC is selected as a source, a window will pop up. In the data source, select ‘Simbra Presto ODBC DSN’.
- Click on Advanced Options. Write the SQL statement to fetch the data from the Catalog.
Eg: SELECT * FROM <table_alias> - After clicking on OK, the table preview will load. Click on the LOAD button,
- You will see two options: ‘load’ and ‘load to’. Click on load to, to load the table into a pivot report as shown in the image below:
- Select PivotTable Report. On selection, it will start loading the data and finally show the number of rows loaded and the pivot view on the left. Check the image attached below for reference:
In case you run into any issues, feel free to drop us a line at support@atlan.com. :)