Establishing a Connection
Creating a JDBC Data Source
You can create a JDBC data source to connect from your Java application, based on CData JDBC Driver for ShipStation.Follow these steps:
- Add the driver JAR file to the classpath. The JAR file is located in the installation directory's lib subfolder. Ensure that the .lic file is located in the same folder as the JAR file.
- Provide the driver class. For example:
cdata.jdbc.shipstation.ShipStationDriver
- Provide the JDBC URL. For example:
jdbc:shipstation:APIKey='YourAPIKey';APISecret='YourAPISecret'
Or, if there is a conflict in your application between drivers using the same URL format, use this form to ensure that you are using the CData driver:
jdbc:cdata:shipstation:APIKey='YourAPIKey';APISecret='YourAPISecret'
Ensure that the URL starts with either jdbc:shipstation: or jdbc:cdata:shipstation:. The URL can include any of the connection properties in name-value pairs separated with semicolons.
Use the BASIC Authentication standard to connect to ShipStation.
Connecting to ShipStation
- Login to your ShipStation account: ShipStation Login.
- Click on the settings icon in the upper right corner. A column menu will show up on the left.
- Click Account -> API Settings.
- On the API Settings page, note the API Key and API Secret.