Establishing a Connection
The objects available within our connector are accessible from the "cdata.oraclesalescloud" module. To use the module's objects directly:
- Import the module as follows:
import cdata.oraclesalescloud as mod
- To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
mod.connect("HostURL=https://my.host.oraclecloud.com; Username=abc123; Password=abcdef;")
Oracle Sales uses Basic authentication over SSL; after setting the following connection properties, you are ready to connect:
- Username: Set this to the user name that you use to log into your Oracle Cloud service.
- Password: Set this to your password.
- HostURL: Set this to the Web address (URL) of your Oracle Cloud service.