Rate this page:
Welcome to developing with the Forge platform for Atlassian’s cloud products. Work through the steps below to set up your development environment. To get started using Forge, you’ll install the CLI, log in with an Atlassian API token, and create an Atlassian developer site that has Confluence and all of the Jira applications installed.
After you're set up, you'll create a simple hello world example app using Jira or Confluence in a three part tutorial.
Make sure you read and understand the Beta limitations before starting development.
To complete this tutorial, you need to install the following:
Node.js (version 10.0.0 or later). Installing Node.js also installs npm.
Important: We recommend running Node under your user. If you're running node under root privilege instead, you'll need to update the Node configuration to allow global module installs using binaries by running:
npm config set unsafe-perm true
To check your Node version, run the following in the terminal:
Docker (version 17.03 or later).
To check your Docker version, run the following in the terminal:
Install the Forge CLI using npm. You’ll install the CLI globally so that the commands can be run across your system.
Install the Forge CLI globally by running:
npm install -g @forge/cli
Verify that the CLI is installed correctly by running:
You should see a version number reported in the terminal:
If a version number is not shown then the installation failed. Repeat step 1 and look for errors reported in the terminal.
Create or use an existing Atlassian API token to log in to the CLI. The CLI uses your token when running commands.
Log in to the Forge CLI to start using Forge commands.
Start the process by running:
Note: The CLI uses OSX keychain to securely store your login details. If you see a prompt for keychain access when running a command, approve it to allow the CLI to run the command. On Linux you’ll need installed to perform this step.
Enter the email address associated with your Atlassian account.
You will see a message similar to this confirming you are logged in:
✔ Logged in as Mia Krystof
Create a developer site where you can install and test your app. The developer site has Confluence and all of the Jira applications installed.
The limits on the numbers of users you can create are as follows:
You're all set up to build a Forge app in Jira or Confluence.
Rate this page: