Skip to content

Commit 17b4328

Browse files
authored
Merge pull request #199 from Teradata/add-dbeaver-okta-sso-guide
Add quickstart guide: Connect to Teradata VantageCloud using DBeaver and SSO
2 parents 3e630cc + faf5b64 commit 17b4328

File tree

16 files changed

+190
-0
lines changed

16 files changed

+190
-0
lines changed
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
---
2+
sidebar_position: 3
3+
author: Nick Pyzik
4+
editor: Janeth Graziani (Developer Advocate, Teradata)
5+
6+
page_last_update: July 16, 2025
7+
description: Connect to Teradata VantageCloud Using DBeaver and Okta SSO (Browser Logon)
8+
keywords: [data warehouses, compute storage separation, teradata, vantagecloud, cloud data platform, object storage, business intelligence, enterprise analytics, dbeaver, dbeaver prod, sql ide, sso]
9+
---
10+
11+
# Connect to Teradata VantageCloud Using DBeaver and SSO (Browser Logon)
12+
13+
## Overview
14+
15+
This guide demonstrates how to connect to Teradata VantageCloud using DBeaver with secure **browser-based SSO authentication**.
16+
17+
This method uses the Teradata JDBC driver and the `LOGMECH=BROWSER` setting to enable a federated login experience, commonly used in enterprise environments.
18+
19+
It also provides recommended DBeaver settings to optimize the experience for Teradata users familiar with SQL Assistant.
20+
21+
## Prerequisites
22+
23+
* Access to a Teradata VantageCloud instance configured for browser-based [SSO](https://docs.teradata.com/r/Teradata-VantageCloud-Enterprise/Security/Single-Sign-on)
24+
25+
* A valid enterprise login (e.g., @company.com credentials)
26+
* DBeaver installed (Community or PRO version)
27+
28+
Download from [DBeaver Community](https://dbeaver.io/download) or [DBeaver PRO](https://dbeaver.com/download)
29+
30+
## Create a Teradata Connection with SSO
31+
32+
1. Open DBeaver and click the plug icon (![Add Connection Plug Icon](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/plug-icon.png)) in the upper left, or navigate to `Database -> New Database Connection`.
33+
34+
2. In the **Select your database** screen, type `teradata`, select the **Teradata** connector, and click **Next**.
35+
36+
![Select Teradata connector](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/teradata_connector.png)
37+
38+
3. Change **Connect by** value from `Host` to `URL`.
39+
40+
4. In the **JDBC URL** field, paste the following URL (replace the YOUR-TERADATA-HOST to your VantageCloud host):
41+
42+
```text
43+
jdbc:teradata://<YOUR-TERADATA-HOST>/LOGMECH=BROWSER,BROWSER_TAB_TIMEOUT=0
44+
45+
```
46+
47+
> Replace `<YOUR-TERADATA-HOST>` with the hostname of your Teradata gateway or VantagCloud environment.
48+
49+
> **Important:** Do NOT enter a username or password. Authentication will occur through your browser.
50+
51+
52+
![JDBC Connection Settings](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/jdbc_connection_settings.png)
53+
54+
5. Click **Test Connection**.
55+
56+
6. If prompted, download and install the Teradata JDBC driver.
57+
(You may not be prompted if the driver is already installed from previous use.)
58+
59+
![Browser Login](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/browser_login.png)
60+
61+
7. A browser window will open and redirect you to your organization's SSO login page. Log in with your enterprise credentials.
62+
63+
8. Once authenticated, a browser window will open
64+
and close very quickly with the following message:
65+
66+
![Authentication Complete](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/authentication_complete.png)
67+
68+
10. DBeaver should confirm a successful connection. Click **OK** and then **Finish**.
69+
70+
![Connection Test](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/connection_test.png)
71+
72+
DBeaver is now able to connect to Teradata!
73+
74+
## Running Teradata Queries in Dbeaver
75+
76+
To begin querying:
77+
78+
- Right-click your Teradata connection and select **Connect**
79+
- Open a new SQL script window and write your query.
80+
81+
82+
![Connect](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/connect.png)
83+
84+
Click the upper orange arrow to execute the SQL query, or press `Command + Return` (macOS) or `Ctrl + Enter` (Windows).
85+
86+
![Query](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/query.png)
87+
88+
89+
## Recommended DBeaver Settings for Teradata Users
90+
91+
### Disable "Blank line is statement delimiter"
92+
93+
Prevents DBeaver from ending queries at empty lines.
94+
95+
Navigate to:
96+
97+
Window -> Preferences -> Editors -> SQL Editor -> SQL Processing -> Delimiters ->
98+
99+
Set **Blank line is a statement delimiter** to `Never`.
100+
101+
![SQL Processing Settings](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/sql_processing.png)
102+
103+
### Disable Removal of Trailing Query Delimiters
104+
105+
Ensures semicolons are preserved when queries are executed.
106+
107+
Navigate to:
108+
Window -> Preferences -> Editors -> SQL Editor -> SQL Processing -> Delimiters
109+
110+
Uncheck **Remove trailing query delimiter**.
111+
112+
113+
![SQL Processing Settings](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/sql_processing.png)
114+
115+
### Enable Line Numbers
116+
117+
Navigate to:
118+
Window -> Preferences -> Editors -> Text Editors
119+
120+
Check **Show line numbers**.
121+
122+
![Enable Line Numbers](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/sql_processing.png)
123+
124+
125+
### Disable Insert Table Aliases
126+
127+
Navigate to:
128+
129+
Window -> Preferences -> Editors -> SQL Editor -> Code Completion
130+
131+
Set **Insert table aliases** to `N/A`.
132+
133+
![Table Aliases](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/table_aliases.png)
134+
135+
### Use Column Names Instead of Labels
136+
137+
Navigate to:
138+
139+
Window -> Preferences -> Editors -> Data Editor
140+
141+
Check **Use column names instead of column labels**.
142+
143+
![Column Names](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/column_names.png)
144+
145+
146+
## How-to
147+
148+
### Display the Sum, Min, Max, etc. of a Column
149+
150+
After running a query, click the **Calc** button under the **Panels** menu on the right side of the Answer Set.
151+
152+
153+
![Calc](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/calc.png)
154+
155+
You may see existing calculations such as *Count*. Click the **plus (+)** sign to add more.
156+
157+
158+
![Add Calculation](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/add_calc.png)
159+
160+
### Change Shortcut Keys
161+
162+
To reassign keyboard shortcuts (e.g., run a query with `F5` instead of `Ctrl+Enter`):
163+
164+
1. Go to `Window``Preferences`
165+
2. Search for **Keys** in the search bar and select `Execute SQL query`
166+
3. In the **Binding** section:
167+
- Remove `Ctrl+Enter`
168+
- Press the desired key (e.g., `F5`)
169+
- Click **Apply and Close**
170+
171+
172+
![Change Shortcut Keys](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/change_shortcut_keys.png)
173+
174+
175+
## FAQ
176+
177+
| **Question** | **Answer** |
178+
|--------------|------------|
179+
| How do I copy both headers and data from results? | Select the data, press `Ctrl+Shift+C`, then click **OK** |
180+
| How can I get all rows of data from a query? | DBeaver limits results to 2k rows by default. Right-click the results and select **Read All Rows** or change the limit in settings ![Select ALL Rows in Query](../other-integrations/images/configure-a-teradata-connection-in-dbeaver/select_all_rows.png)|
181+
| How do I duplicate a connection? | Right-click the existing connection and choose **Copy/Paste** |
182+
| How do I run multiple DDL/DML statements? | Use **Execute SQL Script** instead of **Execute SQL Query** |
183+
| How do I change the date format in results? | Teradata defaults to `YYYY-MM-DD`. To change formats, follow DBeaver’s [Managing Data Formats](https://dbeaver.com/docs/dbeaver/Managing-Data-Formats/) guide |
184+
| How can I run parameterized SQL queries (prompted SQL)? | Go to `Editors``SQL Editor``SQL Processing`, then enable:<br />• **Anonymous SQL parameters**<br />• **Enable parameters in DDL and $$..$$ blocks**<br /><br />Example: `SELECT * FROM my_table WHERE column = :PARAM;` |
185+
| How do I rename a connection? | Right-click the connection and choose **Rename** |
186+
187+
188+
## Summary
189+
190+
This guide demonstrated how to connect to Teradata Vantage using browser-based SSO in DBeaver. This method enables secure enterprise login without manually entering credentials. It also provided recommended DBeaver settings to optimize the experience for Teradata users familiar with SQL Assistant.
314 KB
Loading
72.4 KB
Loading
94.5 KB
Loading
232 KB
Loading
691 KB
Loading
838 KB
Loading
289 KB
Loading
110 KB
Loading
487 KB
Loading

0 commit comments

Comments
 (0)