Introduction
IBM APIConnect as a Service now allows users to customize Vanity API endpoints when creating a Catalog. This capability allows organizations to customize their API endpoints for both the portal and APIs, providing enhanced flexibility and enabling a more personalized and branded user experience.
By configuring a vanity URL in API Connect, you can create branded and memorable web addresses that align with their organization's identity or specific API use cases. This customization is particularly advantageous in scenarios where user engagement and brand recognition are pivotal. API Connect enables organizations to design, secure, and manage APIs seamlessly, and incorporating vanity URLs adds an extra layer of customization.
The process of configuring a vanity URL in API Connect typically involves the following steps:
1. Configure the vanity API endpoint in your catalog:
Step 1: Set up the vanity hostname:
- Set up your desired DNS as a CNAME pointing to the following address:
custom.<region>
.apiconnect.ibmappdomain.cloud
where <region> is the region where your API Connect account is hosted.
For example, for an eu-central
customer the CNAME is custom.eu-central-a.apiconnect.ibmappdomain.cloud
you can also copy it from vanity API Endpoint configure page
Step 2: Configure the vanity API endpoint in your catalog:
- In the catalog, click the Catalog Settings tab.
- On the Catalog Settings page, click API endpoints in the navigation list.
- On the Vanity API endpoint page, click Edit button.
- In the "Endpoint URLs" section, select Use vanity hostname.
When you select this option, a reminder to configure the CNAME for your vanity hostname displays.
If you did not already configure the CNAME, click copy icon in the message to copy the URL so that you can use it to configure the CNAME.
- Type the new vanity hostname DNS for your API endpoint; for example:
demo-vanity.your-domain.com
- Upon clicking the "Check DNS" button, the system will validate the entered vanity URL for accessibility. If the verification is successful, a success message will be displayed, and the "Save" button will be enabled.
2. Configure the vanity API endpoint for your Developer Portal:
Step 1: Set up the vanity hostname:
- Set up your desired DNS as a CNAME pointing to the following address: custom.<region>.apiconnect.ibmappdomain.cloud
where <region> is the region where your API Connect account is hosted.
For example, for an eu-central
customer the CNAME is custom.eu-central-a.apiconnect.ibmappdomain.cloud
you can also copy it from vanity API Endpoint configure page
Step 2: Configure the vanity hostname for the Developer Portal:
- In the catalog, click the Catalog Settings tab.
- On the Catalog Settings page, click Portal in the navigation list.
- On the Portal page, click Create button if already have a portal click on Edit.