Skip to content

Instantly share code, notes, and snippets.

@vdel26
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save vdel26/d749b2d163bc34ef61e6 to your computer and use it in GitHub Desktop.

Select an option

Save vdel26/d749b2d163bc34ef61e6 to your computer and use it in GitHub Desktop.
API Management with 3scale as an Heroku add-on for your application

API Management with 3scale as an Heroku add-on for your application

Hosting your API in a platform as a service like Heroku is a popular option nowadays since it frees you from all the infrastructure administration tasks and allows you to focus on development. It is also a really good way to launch your API when you are not sure what the usage will be like, as Heroku will handle scaling your application server for you.

If that is your case, now you can add 3scale to secure and manage your API right from your Heroku dashboard, by using 3scale Heroku add-on.

Provisioning the add-on for your Heroku app is as simple as doing a simple call from the command line:

heroku addons:add threescale

or clicking on the Get Add-ons button of your Heroku app page.

get add-ons

Either way a 3scale account will be created for you and you will get your own and unique key to start using 3scale in just a matter of seconds. The API key is automatically configured as an environment variable inside your Heroku application so that you can easily use it when integrating your API with 3scale. You can read further on how to complete your API integration in the technical documentation for the add-on.

3scale provides a management dashboard from where you set up your API plans, configure how developer keys are issued and extract usage analytics for all your endpoints. The 3scale admin portal is just one click away from your Heroku application page: following the add-on link will automatically log you in to 3scale reusing your Heroku credentials.

We are really looking forward to more people using 3scale to secure their APIs in Heroku. If you are one of them and want to let us know about your feedback please do it by reaching us at [email protected].

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment