macOS DSN Configuration
This section shows how to set up ODBC connectivity and configure DSNs on macOS.
Minimum macOS Version
The CData ODBC Driver for SendGrid driver requires macOS Sierra (10.12) or above.
Licensing the Driver
In a terminal, run the following commands to license the driver. To activate a trial, omit the <key> input.
cd "/Applications/CData ODBC Driver for SendGrid/bin"
sudo ./install-license.sh <key>
You'll be prompted for a name and password. These refer to your name and your machine's password.
You must use an API key to authenticate through the SendGrid driver.
Obtaining an API Key
To obtain an API key, follow the steps below:
- Log into SendGrid.
- Click Settings.
- Click API keys.
- Click Create API Key.
- Choose the Permissions the API Key should have, either Full Access or Restricted Access. The API key is then displayed.
NOTE: If you want access to Email events, you must purchase the Email Activity History add-in of SendGrid. If using a Restricted Access key, you must give it the messages.read and email_activity.read scopes.
Uninstalling the Driver
The easiest way to uninstall the driver is to open a terminal and run the included uninstall.sh script, located in the installation directory. For example:
cd "/Applications/CData ODBC Driver for SendGrid" sudo ./uninstall.sh
Note: The script needs to be run from the installation directory.