Moving to Production Guide
What is this?
Once you feel that your application is ready to be used in the Real World™, you might consider moving it to the Production Environment.
Requesting the production keys
Moving your application to Production Environment means requesting a production keys. But don't be scared! The process is quite easy:
- Sign in
- Click on your username (top right corner)
- Go to My Self-Service Workspace
- Select the application you want to move to Production and click on
Get Production environmentbutton:
The get production environment move involves the completion of three steps:
- Personal and application information.
- Payment method: credit card or bank transfer.
- Sign the agreement and confirm.
Once you have completed the steps above, you will receive a copy of your contract by mail.
At this point your application's tag changes to pending:
Once the validation is successful you will be notified and the app's tag will change to live:
The process to get the production key can take up to 72 hours for the first application. Additional applications do not require any waiting time.
Remember that once you reach the threshold of free transactions, you will be automatically billed on a monthly basis. But don’t worry we made this easy for you, you can manage your apps and track your usage in My Self-Service Workspace.
Using the new production keys
Once It's time to adapt your source code to target the new production environment, which basically means:
- Point your calls to target the production URL.
- Use the production keys when authenticating.
If you are using our SDKs, just initialise the client as follows:
amadeus = Client(client_id='YOUR_PRODUCTION_CLIENT_ID', client_secret='YOUR_PRODUCTION_CLIENT_SECRET', hostname='production')
For any other implementation, replace the base URL in your API calls to point
https://api.amadeus.com and send your recently received
API key and
API Secret when you perform the authentication.
Congrats! Your application is ready to disrupt the travel industry!