Lyftron Front Provider
The Lyftron API Profile for Front allows you to query data from Front. The Front profile is a single file (i.e. front.apip) which is meant to be used with the Lyftron API Driver. The profile contains the table definitions and other Front specific metadata that the Lyftron API Driver uses to connect to Front.
To use the Front Profile set the Profile property of Lyftron API Driver to the path of the Front profile, as well as the other connection properties specified in the documentation below. Once the Lyftron API Driver has been configured, you can issue SQL queries to access data from any of the Front Tables.
Connecting to Front
To authenticate to Front, you can use either Personal Token authentication or the OAuth standard. Use Personal Token authentication to connect to your own data. Use OAuth to allow other users to connect to their data.
Using Personal Token authentication
To use Personal Token authentication, specify your Api-Token in the ProfileSettings connection property. Set this to your Front Personal Token. Go to "Settings" > "Plugins & API" > "API" to generate a Personal Token.
Using OAuth Authentication
Register your OAuth application with Front. To create an OAuth application, please contact Front at api@frontapp.com to get your credentials.
After setting the following in the ProfileSettings connection property, you are ready to connect:
- OAuthClientId: Set this to the client ID that you received upon app registration
- OAuthClientSecret: Set this to the client secret that you received upon app registration.
- CallbackURL: Set this to the Redirect URI that you specified in your app.
- InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to manage how the driver obtains and refreshes the OAuthAccessToken.