LogoLogo
  • User Guide
    • Getting Started
      • Building a Usage-Based Product in Revenium
      • Setting Up & Using API Analytics & Observability
      • Setting Up & Using Product Analytics
      • Sending Data to Revenium's Metering API
      • Key Concepts & Relationships
    • Connect Your Data
      • cURL Commands for Testing
      • Container-Native Metering
      • Kong
        • Kubernetes Installation
      • Salesforce
        • Revenium Unmanaged Package
          • Anypoint API Experience Hub (AEH)
            • Anypoint API Experience Hub Unmanaged Package Post Installation Instructions
          • Anypoint Community Manager (ACM)
            • Anypoint Community Manager Package Post Installation Instructions
        • Revenium Lightning Web Components
          • Add Components to Experience Cloud site
          • Drop-In Storefront
          • Product Card
          • Product Card (Anypoint)
          • Product Checkout
          • Product Details Button
          • Usage History
          • API Access Requester
      • MuleSoft
        • Metering Policy Configuration
        • Offline Metering Policy Configuration
        • Anypoint API & API Group Synchronization
        • Revenium Connector
        • Disable Default Anypoint Community Manager (ACM) Email Notifications
      • Gravitee
      • Istio
      • Envoy
      • AWS API Gateway
      • Python & Django
      • Golang
      • Spring Boot
      • .Net
      • NodeJs
      • Java/JVM
      • Snowflake
      • Azure API Management
      • IBM
      • Custom Integrations Using Metering Beacons
        • JWT Enrichment
      • Offline Metering via Log Parsing
    • Sources
      • Metering Elements
      • Alerts
        • Alert History
    • API Keys
    • Products & Pricing
      • Product Lines
      • Pricing Rules
        • Revenium Scripting Language
          • RSL Reference
        • Execution Logs
      • SLA Definitions
      • SLA Violation Review
    • Customers
      • Customers
      • Subscribers
      • Subscriptions
      • Subscribers Credentials
      • Subscribers Notifications
    • Billing and Invoicing
      • Manage Refunds
    • Analytics
      • Revenue Analytics
      • Product Analytics
        • Custom Reports (Products)
      • Subscriber Analytics
        • New Subscribers
        • (Daily/Weekly/Monthly) Active Subscribers
        • Most Engaged Subscribers & Customers
        • Historical Usage
      • API Analytics
        • Performance & Availability
        • Compare Periods
        • Traffic by Geography
        • Advanced Search
        • Custom Reports
    • Profile
      • Profile
      • Revenium API Documentation
    • Settings
      • Revenium Users & Organizations
        • Access Permissions by User Type
      • Revenium Subscription
      • Revenium Organizations
      • Notification Templates
      • Transactions Logs
        • Analytics Transaction Log
        • Product Transaction Log
        • Subscription Audit Log
        • No Code Transaction Testing
      • Integrations
        • Data Sync
        • Export Configurations
        • Notification Providers
        • Payment Configurations
          • Customer VAT ID Support
        • ERP Configurations
        • External Integration Logs
        • Identity Providers
      • System Logs
      • Default Configuration Limits
Powered by GitBook

© Revenium - www.revenium.io

On this page
  • API Synchronization
  • API Group Synchronization
  • Creating a Revenium Product Linked to Exchange
  1. User Guide
  2. Connect Your Data
  3. MuleSoft

Anypoint API & API Group Synchronization

Last updated 6 months ago

This configuration is only required if using Revenium's Drop-In Storefront for Mulesoft's Anypoint Community Manager (ACM).

Revenium supports API & API Group synchronization from Anypoint API Manager / Exchange to the Revenium platform for monetization.

The synchronization features enable subscribers browsing your API storefront to be routed seamlessly to the API details pages published in ACM when viewing a product bundle you have published for sale. (from the API details page in ACM, interested developers will find your API documentation, sample code, and an interactive console they can use to test integrations with your API).

This feature also allows Subscribers to view all product bundles you publish that provide access to a given API so that they can easily sign up and pay for access to the API (an example can be viewed in the image below).

To enable this feature, please follow these steps:

  1. Go to the Community API Details page in your Community and look for the API Header component, once there, uncheck the Show API Access Requester option.

  2. Drag & drop the Revenium Request Access from Source component into the section of this page where you want to show it.

API Synchronization

Before you can sync your data ensure the Anypoint account you're using is configured with the following API Manager permissions:

Once your permissions are set, the process of linking the Revenium & MuleSoft record is straight-forward. View the API source in exchange and copy the identifier from the URL into the source record in Revenium.

Next, paste this source into the source record in Revenium as shown below:

API Group Synchronization

Because API Group publishing is detail-oriented, we've provided a step-by-step guide below explaining the steps required for API Groups in Exchange to appear dynamically in Revenium's Drop-In Storefront.

  1. Create the API Group in API Manager. A version of the group name chosen here will be used as the external ID in the product configuration of Revenium. One important note is that all group names will be converted to lowercase, and any spaces in group names will be converted to dashes. From the example below, "Test Product" becomes 'test-product' for the external ID in Exchange and Revenium. Also note that the "API Group instance label" chosen below will be displayed to end subscribers when requesting access to your API product, so use a customer friendly name here (i.e. U.S. Instance or European Instance")\

  2. Assign the APIs you wish to be a part of your product to the API Group in API Manager and click Save.\

  3. With the newly-created API group opened in API manager, add an SLA Tier using the left side menu as shown in the image below. Name & describe your SLA, and choose the approval method appropriate for your use case. Note that assigning SLAs is MuleSoft best practice and also required for successful use of Revenium's storefront components.

  4. Return to the "Group Details" tab from the left side navigation menu. From this page, click "Publish to Exchange." \

  5. When complete, click the link to view your product in Exchange. At this point, you will be able to view the external ID required for linking your Revenium storefront in the URL** ** (found in the blue box in the example image below) \

  6. Next, return to Revenium and create a new product. A summary of the required steps is laid out below. Pay careful attention to the requirement to add the external ID to the product where indicated, which in the case of this example is "test-product".

Revenium will always use the latest API Group version published to Exchange.

Creating a Revenium Product Linked to Exchange

Once the API Groups are created and published, to set up the synchronization, select "Products" from the navbar on the left-hand side of the screen:

Next, you can either select an existing Product to edit it or click on the "Plus" button from the upper right-hand side of the UI to create a new one:

Once the Product form is open, go to the "Options" tab and fill the External ID field with the API Group ID:

Lastly, remember that for any Revenium products to be visible in third party portals, the option to "publish to commerce" portal must be selected when configuring the product in Revenium (shown below).

As a starting point, please review the to Create and Publish API Groups.

Within Revenium's configuration , you can define an external ID that links back to MuleSoft Exchange. This allows the Revenium Drop-In Storefront to dynamically create links to the API details pages in ACM for customers who are browsing your API product documentation.

Sources can also be synchronized automatically from Anypoint API Manager to Revenium. This can be accomplished by tagging the Source with REVENIUM. Note that Sources sync'd in this manner will be created by the Revenium Subscriber account who initially configured the in Revenium's UI.

If the is configured as an Automated Policy the URL/URI defined in the must be unique. If the Source are being synchronized from the Anypoint Platform then the "Subscriber Endpoint" should be set the appropriate unique URI.

official Anypoint documentation
for a source
APIM configuration
Revenium Metering Policy
Revenium Sources
The external ID for each source can be find in the Exchange URL in the red box above.