Contact Us 1-800-596-4880

To Import an API Definition from Design Center

Anypoint Studio 6.3 and later allow you to import an API Definition from Design Center and implement it either into a new Mule Project, or an existing one.

To Implement an API imported from Design Center Into a New Project

  1. Click File > New > Mule Project to create a project, and set the field values in the project wizard:

    • Type a name for your project.

    • Select a Mule runtime version.

    • Check Add APIkit Components.

    • In API Definition, click the "…​" button to and select Design Center.

  2. In the Browse Design Center for APIs window:

    • Select your Anypoint Platform user and business group.

      • Additionally you can click the "Add Account" button to use a new Anypoint Platform account.

  3. From the list of available APIs, select the one you want and click OK.

  4. Click Finish.

APIKit generates the Flow based on the API definition imported from Design Center.

To Implement an API imported from Design Center Into an Existing Project

  1. Right click your Mule Project on the Package Explorer View.

  2. Select Anypoint Platform and then Import from Design Center.

  3. Select your Anypoint Platform user and business group.

    • Additionally you can click the "Add Account" button to use a new Anypoint Platform account.

  4. From the list of available APIs, select the one you want and click OK.

    • Importing an API definition from Design Center into an existing project deletes all your resources from your src/main/api directory.

  5. Click Finish.

APIKit generates the Flow based on the API definition imported from Design Center.

See Also