Skip to content

Latest commit

 

History

History
143 lines (105 loc) · 5.14 KB

File metadata and controls

143 lines (105 loc) · 5.14 KB

Getting Started with Anypoint Code Builder

reuse::partial$beta-banner.adoc

Anypoint Code Builder is built from the Anypoint Extension Pack for Visual Studio Code. Both the desktop and cloud IDEs for Anypoint Code Builder share these extensions. The cloud IDE provides built-in extensions to the code-server implementation of Visual Studio Code for the web.

  • Set up the Desktop IDE: For the desktop IDE, you must load the extension pack to your local Visual Studio Code IDE.

  • Launch the Cloud IDE: For the cloud IDE, you must sign in to Anypoint Platform and acquire the permission to use Anypoint Code Builder.

Set up the Desktop IDE

anypoint-code-builder::partial$acb-start-desktop.adoc

Sign in to Anypoint Platform from the IDE

Some Anypoint Code Builder features require you to sign in directly from the IDE to Anypoint Platform. The IDE prompts you when login is necessary and guides you through the login process. However, it is a good practice to sign in from the IDE after opening MuleSoft features in the IDE.

anypoint-code-builder::partial$acb-reusable-steps.adoc

From the IDE, you can sign in from the status bar or through a command, and you can log out from the status bar:

Sign in to Anypoint Platform from the Status Bar

The status bar in the desktop and cloud IDEs shows your login status:

  • Not logged in to Anypoint Platform indicates that you must sign in to perform tasks that require a connection to Anypoint Platform.

    Login status message in the status bar

    You can sign in by clicking this notification and following the prompts to sign in.

  • A link to your user name indicates that you are signed in.

    You can log out by clicking your user name and following the prompts.

Sign in to Anypoint Platform from the Command Palette

You can use the Command Palette to sign in to Anypoint Platform from the IDE.

To sign in from the IDE from the Command Palette:

anypoint-code-builder::partial$acb-reusable-steps.adoc . Select the following command:

+

MuleSoft: Login to Anypoint Platform

+ image::anypoint-code-builder::login-to-anypoint-platform.png["Login command within the Command Palette"]

+

Tip

You can type login and use the filter in the results to select the command you want.

  1. Select Allow when prompted to sign in to the platform.

    anypoint code builder::allow login to anypoint platform

    After logging you in, Anypoint Platform displays a You can close this page now message.

  2. To verify your login, ensure that <your-username> replaces Not logged in to Anypoint Platform.

Log Out from Anypoint Platform from the IDE

Log out from the IDE by:

  1. Clicking your username in the status bar

  2. Clicking Yes when asked Logout from Anypoint?

Sign In to a Different Anypoint Platform Account from the IDE

To use a different Anypoint Platform user account:

  1. Log out from the status bar in the IDE.

  2. Sign in from the status bar.

Set the Desktop IDE to a Different Control Plane

In the desktop IDE, you can change your Anypoint Platform control plane to one of these clouds:

  • US Cloud (default)

  • EU Cloud

  • Canada Cloud

  • Japan Cloud

Anypoint Platform instances do not share user accounts, projects, or other data. For more information, see Cloud Hosts.

To change the control plane:

anypoint-code-builder::partial$acb-reusable-steps.adoc anypoint-code-builder::partial$acb-reusable-steps.adoc . Scroll to Mule: Control Plane. . Select the desired cloud. . Restart the IDE to load all your changes. . Follow the steps in Sign in to Anypoint Platform from the IDE.