Site iconAxway Blog

How to create an OpenCage Geocode Connector in Axway’s Integration Builder – Part 3: Add Your Connector to AMPLIFY Central

Opencate Geocode API Connector

In Part 2 of this series, we used Integration Builder to enhance and customize our Geocode API for our particular needs and in this blog post we used the connector as part of a flow to geocode new Salesforce accounts.

Once your colleagues and customers find out about your cool geocode API, they may want access to it for their own mobile and/or web applications. You can use AMPLIFY Central to expose, secure, manage and monitor your API.

In this blog post, we’ll review how to publish our connector to AMPLIFY Central so that we can secure it and make it available to others for use in their applications.

Configure Your API Proxy

When you created an instance of the OpenCage Geocoder API in Integration Builder, an API Proxy was automatically added to AMPLIFY Central.

To get to the API Proxy in API Central, go to platform.axway.com, find the Mesh Governance tile and click on the API Central link and then click on API Proxies.

See OpenCage Geocoder_164665 in the screen shot above. Note that the name depends on what you called your instance in Integration Builder

You can see that we have two environments: Test and Prod. Let’s deploy Production by clicking on the Deploy button.

Add API to the Catalog

Now let’s add this API to the Catalog for discovery by clicking on Add to Catalog. We will be redirected to this API in the Catalog.

You will see the new API in the Catalog as follows:

Test/Use the API

This is the process your users will follow when they are provided access to your Catalog.

At this point we’re done with the app and can return to the API in the Catalog and click the Subscribe button and select a Team and an app (the one we just created)

You can test the API in curl as follows:

curl -X GET -H 'Authorization: ApiKey 96a9c36e-89ef-45a4-977c-2315a21411fa' 'https://prod-e4f77ce669fd0b1a016a22c82f8013c9.apicentral.axwayamplify.com/opencagegeocoder_164734-/geocode?query=Boston'

Now you can invite users to access your catalog and access your APIs.

Summary

In this blog post we saw the power and ease of the AMPLIFY platform to take a connector we created in Integration Builder, secure it and publish it to AMPLIFY Central for others to use in their applications.

Exit mobile version