Establishing a Connection
The objects available within our connector are accessible from the "cdata.freshdesk" module. To use the module's objects directly:
- Import the module as follows:
import cdata.freshdesk as mod
- To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
mod.connect("Domain=MyDomain;APIKey=myAPIKey;")
Connecting to Freshdesk
Freshdesk makes use of basic authentication. To connect to data, set the following connection properties:
- Domain: Set this to the domain associated with your Freshdesk account. For example, in your URL, https://{domainValue}.freshdesk.com, thus the connection string should be:
Domain=domainValue
- APIKey: Set this to the API key associated with your Freshdesk account. To retrieve your API key, log in to your support Portal. Click the profile picture in the upper-right corner and select the profile settings page. The API key is available below the change password section to the right.