Python Connector for Salesforce

Connection parameters - Python Connector for Salesforce

Connection parameters

The following table describes the Salesforce connection parameters you can use in the connect() module method.

Parameter Description

Authentication

The authentication type. The possible values are:

  • Basic – (Default) Basic authentication
  • OAuth – OAuth 2.0 authentication

Host

The base URL of the Salesforce organization.

The default URL for for production and Developer Edition organizations is login.salesforce.com. The default URL for sandboxes is test.salesforce.com.

Basic authentication

UserId

The user's name

Password

The user's password

SecurityToken

The security token

OAuth 2.0 authentication

RefreshToken

The refresh token.

Follow the instructions in Using the module to obtain a refresh token.

Proxy parameters

ProxyHostName

The hostname or IP address of the proxy server

ProxyPort

The proxy port

ProxyUserName

The username for proxy authentication

ProxyPassword

The password for proxy authentication

Other parameters

PoolId

The ID of a connection pool that will be used for a particular connection

DisablePooling

Disables connection pooling for a particular connection.

The possible values are True and False. The default value is False.

© 2022-2025 Devart. All Rights Reserved. Request Support Python Connectors Forum Provide Feedback