Setup: Excel (for BASIS3 customers)
Excel Setup Instructions
How to access your BASIS3 data in Excel
This page walks you through setting up direct access to your data in Microsoft Excel for Windows, using Open Database Connectivity (ODBC).
This guide is for accounts on BASIS 3. If your account is still on our previous platform, use Setup: Excel instead.
1. Check that you are using 64-bit Excel
The DuckDB ODBC driver is 64-bit. To check your version, click the File menu > Account > About Excel.
2. Get your connection details
Log in to BASIS 3 and open your connection info. Copy these two values:
- DATABASE: your database name, which starts with
md: - TOKEN: your personal access token
[Screenshot: BASIS 3 connection info panel]
Keep your token private. It works like a password.
3. Download and install the DuckDB ODBC driver
ODBC lets you connect directly to your Reason Automation database and pull data into Excel. Download and install the DuckDB ODBC driver for Windows by following MotherDuck's Excel guide.
Some versions of Windows show an extra security warning. Click "More info," then "Run anyway."
4. Connect ODBC to Reason Automation
Find and open ODBC Data Sources (64-bit) using the Windows search bar. Go to the System DSN tab and select the DuckDB Driver.
[Screenshot: ODBC Data Source Administrator]
In the Database field, paste your DATABASE value from BASIS 3, then click OK.
[Screenshot: DuckDB DSN settings]
5. Add your token
Excel reads your token from a Windows environment variable.
- Open Edit environment variables for your account using the Windows search bar.
- Under User variables, click New and enter:
Variable name: motherduck_token
Variable value: [Your TOKEN from BASIS 3]
[Screenshot: new user variable]
Click OK, then OK again. If Excel is already open, close and reopen it.
6. Connect ODBC to Excel
In Excel, click the Data menu > Get Data > From Other Sources > From ODBC. From the drop-down menu, choose the DuckDB data source and click OK.
[Screenshot: From ODBC dialog]
7. Congratulations!
You now have direct access to your Amazon reports from within Excel. Each report is stored as a table in your database. Select the table you want and either:
- Click Load to import the entire report into Excel.
- Click Transform to choose which columns, date ranges and other views to import.
Saving your Excel workbook also saves the connection. The next time you open your workbook, use Data > Refresh All to load new data.
Troubleshooting
- Authentication error: check that your token was copied in full and that the variable name is exactly
motherduck_token. - Excel can't find the data source: confirm you set it up in ODBC Data Sources (64-bit), on the System DSN tab.
- Wrong or empty database: make sure you used the DATABASE value starting with
md:, not an older Postgres connection.
If you need help, please contact us.
On this page