This string includes the properties used to connect with API key authentication.

jdbc:datadirect:hubspot:AuthenticationMethod=URLParameter;
APIKey=api_key;[property=value[;...]];

where:

api_key
specifies the API key when authenticating with API key authentication.
property=value
specifies connection property settings. Multiple properties are separated by a semi-colon.

The following example connection string includes the properties required for connecting with the API key authentication.

Connection conn = DriverManager.getConnection
  ("jdbc:datadirect:hubspot:AuthenticationMethod=URLParameter;
    APIKey=1234ab5cd-1a2b-3a4b-678uvw-xyz91011;");