Establishing a Connection
The objects available within our connector are accessible from the "cdata.ibmcloudsqlquery" module. To use the module's objects directly:
- Import the module as follows:
import cdata.ibmcloudsqlquery as mod
- To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
mod.connect("Api Key=MyAPIKey;")
Authenticating to IBM Cloud Data Engine (OAuth)
OAuth authentication does not require any interaction with the browser to use the IBM Cloud Data Engine. The connector facilitates this process as described in Connecting to IBM Cloud