This project will help you retrieve tokens to use the Clever Cloud API.
If you wish to use Clever Cloud's API, you will need to create an oauth consumer in the console and to deploy an Application.
Make sure you have installed Clever Tools.
- Create our application:
clever create --type maven yourOauthApp
- Add a domain name:
clever domain add yourdomain.cleverapps.io
- Configure the URL of this application:
clever env set APP_URL https://yourdomain.cleverapps.io/
- Deploy the app
clever deploy
To create a consumer, go in the console and click on Create an Oauth consume or just click here.
You will have to fill in some fields. The most important are the URLs that link the application previously deployed.
Now you should have your tokens and be ready to use our API.