Lyftrondata Optimizely Provider
The Lyftrondata API Profile for Optimizely allows you to query data from Optimizely. The Optimizely profile is a single file (i.e. optimizely.apip) which is meant to be used with the Lyftrondata API Driver. The profile contains the table definitions and other Optimizely specific metadata that the Lyftrondata API Driver uses to connect to Optimizely.
To use the Optimizely Profile set the Profile property of Lyftrondata API Driver to the path of the Optimizely profile, as well as the other connection properties specified in the documentation below. Once the Lyftrondata API Driver has been configured, you can issue SQL queries to access data from any of the Optimizely Tables.
Using Personal Token authenticationTo use Personal Token authentication, specify your Api-Key in the ProfileSettings connection property. Set this to your Optimizely Personal Token. Visit app.optimizely.com/v2/profile/api to generate a Personal Token.
Connecting to Optimizely
To authenticate to Optimizely, 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-Key in the ProfileSettings connection property. Set this to your Optimizely Personal Token. Visit app.optimizely.com/v2/profile/api to generate a Personal Token.
Using OAuth Authentication
Register your OAuth application with Optimizely. To register a new application, follow the instructions on app.optimizely.com/accountsettings/apps/developers.
After setting the following in 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 that you received upon app registration.
- CallbackURL: Set this to the Redirect URI you specified in your app.
- InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to manage the process to obtain the OAuthAccessToken.