From f93b774fa9ea29a2e91c2bd8bbfa55ff0ccf235e Mon Sep 17 00:00:00 2001 From: priyankagunaki-cloud Date: Wed, 3 Jun 2026 17:50:56 +0530 Subject: [PATCH 1/2] DOC-2184-Update-connection.adoc[1.8] --- modules/getting-started/pages/connection.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/getting-started/pages/connection.adoc b/modules/getting-started/pages/connection.adoc index bd16a59..7d2deb3 100644 --- a/modules/getting-started/pages/connection.adoc +++ b/modules/getting-started/pages/connection.adoc @@ -38,6 +38,11 @@ conn.getToken() <2> The graph in this context is a logical container that consists of object type definitions (vertex and edge types, user-defined types (UDTs), data sources, etc.) and the instances of these object types. A TigerGraph instance can contain multiple graphs, so you need to specify which one you want to use. +[NOTE] +==== +`getToken()` is only required when RESTPP authentication is enabled. Otherwise, a username and password are sufficient to connect to the database. +==== + === Generate authentication token If the instance has user authentication enabled, you also need to provide a xref:tigergraph-server:user-access:managing-credentials.adoc#_secrets[secret], which is a unique string that serve as a user’s credential when creating authentication tokens for TigerGraph's REST API endpoints. From 282cd7a9157c9328bed9d9f00ed9e2a8e7d2d147 Mon Sep 17 00:00:00 2001 From: priyankagunaki-cloud Date: Wed, 3 Jun 2026 20:28:31 +0530 Subject: [PATCH 2/2] DOC-2184-Update-connection.adoc[1.8] --- modules/getting-started/pages/connection.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/getting-started/pages/connection.adoc b/modules/getting-started/pages/connection.adoc index 7d2deb3..df409c9 100644 --- a/modules/getting-started/pages/connection.adoc +++ b/modules/getting-started/pages/connection.adoc @@ -33,16 +33,16 @@ conn = tg.TigerGraphConnection(host="", graphname="", user conn.getToken() <2> ---- <1> The username and password are provided via the constructor of xref:core-functions:base.adoc[the `TigerGraphConnection` class]. -<2> Secrets are unique strings that serve as a user’s credentials when generating authentication tokens for REST API endpoints. - -The graph in this context is a logical container that consists of object type definitions (vertex and edge types, user-defined types (UDTs), data sources, etc.) and the instances of these object types. -A TigerGraph instance can contain multiple graphs, so you need to specify which one you want to use. +<2> Secrets are unique strings that serve as a user’s credentials when generating authentication tokens for REST API endpoints. Calling getToken() is only required when RESTPP authentication is enabled. [NOTE] ==== `getToken()` is only required when RESTPP authentication is enabled. Otherwise, a username and password are sufficient to connect to the database. ==== +The graph in this context is a logical container that consists of object type definitions (vertex and edge types, user-defined types (UDTs), data sources, etc.) and the instances of these object types. +A TigerGraph instance can contain multiple graphs, so you need to specify which one you want to use. + === Generate authentication token If the instance has user authentication enabled, you also need to provide a xref:tigergraph-server:user-access:managing-credentials.adoc#_secrets[secret], which is a unique string that serve as a user’s credential when creating authentication tokens for TigerGraph's REST API endpoints.