You can read our documentation at developers.salesloft.com.
You will need to create a Frontend Integration through the SalesLoft App Portal. You can use the following form parameters for this demo:
- Auth Redirect URL: https://localhost:8444/auth/salesloft
- Callback URLs: https://localhost:8444/auth/salesloft/callback
- Custom Action Slot Url: https://localhost:8444/portal/echo
- Email Editor Slot Url: https://localhost:8444/portal/echo
- Full Page Slot Url: https://localhost:8444/portal/echo
After creating the integration, you can "install" it in the management section of the App Portal.
- Copy
.env.sample
to.env
- Fill out the id / secret with your information from App Portal
- bundle install
- bundle exec foreman start -f Procfile.local
- Go to https://localhost:8444 and accept the insecure certificate
- Go to https://app.salesloft.com/app/settings/integrations and enable the integration
- The different integration points will now become available for demo
A Frontend Integration is very similar to OAuth, but comes with more abilities. In particular, it receives the integration id, tenant id, and secret in its OAuth callback.
In this demo, using an OAuth app will still work, but will produce a file like credentials.store..
rather than credentials.store.1.2
. This store will have authorization credentials,
but a blank secret.
This demo uses a self-signed cert which won't be trusted by your browser. When you go to https://localhost:8444, you will need to trust the insecure certificate.