Course menuForge Cloud

Level 1 · Lesson 0

Get ready for Level 1

Goal of this lesson

Get everything Level 1 needs on top of the general setup.

What you need

  • An API Ninjas key
  • A Workshop space in Jira
  • One repair task

About 10 min3 steps

Level 1 builds a car details card: a panel on every Jira work item that reads the make and model at the start of the summary and shows what that model comes in. The car data comes from an outside service, so you need an account there, and you need a place in Jira for repair tasks.

Did the general setup first? Node.js, the Forge CLI, forge login and a developer site are all assumed from here on.

Step 1: Create a Workshop space in Jira

Open Jira on your developer site and create a space for the course.

Create a Kanban space named Workshop with the key WS. The app uses the key later to find the space, and the lessons show a Kanban board (another template works, but your screens will look different). Skip the optional screens Jira shows after that, such as adding AI agents or connecting tools, and don’t invite anyone, even if the invite screen comes with names filled in: this space is only for your practice. Level 2 adds to this same space, so keep it.

Stuck?One common problem, and its fix
  • I can’t find how to create the Workshop space, or Jira asks things the lesson doesn’t mention

    In Jira, look for Create space (on older screens Create project), usually next to Spaces in the left sidebar. Choose the Kanban template, name the space Workshop and set its key to WS. Jira may then offer extra screens, such as adding AI agents, inviting your team or connecting other tools: skip each one and don’t invite anyone, because this space is only for your practice. You should end up on the Workshop board. If you can’t create spaces at all, you are probably not on your own developer site; see Get a developer site.

    Open in the FAQ

Step 2: Put up the first repair task

Atlassian’s own products

Jira work itemin the workshop: a repair task

In this course every work item is a repair task: its summary names the car, then a dash, then the repair, and the app reads the car from the start of the summary.

In the workshop One repair on one car: the make and model, then the work to do.

Create a Task in the Workshop space with the summary BMW 3 Series – grinding noise from front, and leave everything else as it is. It gets a key such as WS-1.

This repair task is the one the car details card reads when it is finished. Until lesson 6, the card always looks up a BMW 3 Series, whatever the summary says.

Step 3: Get an API Ninjas key

The car data comes from API Ninjas (opens in a new tab), a service with many small public APIs. APIs are web addresses that programs, rather than people, call to get data. Its Cars API has an endpoint (one such address), /v2/carfacets, that takes a make and a model and answers with what that model comes in: fuel types, transmissions, drive types, cylinder counts and versions. It is the one Cars endpoint a free key can call; the others answer that they are for premium subscribers.

  1. Create a free account at api-ninjas.com (opens in a new tab).
  2. Open your account page (you land there after signing in) and copy the API key it shows.
  3. Keep it somewhere private, such as a password manager. You need it in lesson 3, which puts it in the key safe.

Never paste the key into code, a chat or a screenshot. Your account gets a limited number of free calls, and anyone who has the key can use them up. The free plan is for learning: API Ninjas’ FAQ says commercial use of the Cars API needs a premium plan.

Stuck?One common problem, and its fix
  • The card says “The car data service answered 400” (or 401, 403)

    A 400 that says the endpoint is “only available to premium subscribers” means the code calls a Cars endpoint a free key cannot use, such as /v2/cars. Check that src/cars/apiNinjas.js calls /v2/carfacets.

    A 401 or 403 means API Ninjas did not accept the key. Copy it again from your API Ninjas account, set it again with forge variables set --encrypt API_NINJAS_KEY, and deploy.

    Open in the FAQ

Type at least two letters.