In this tutorial, we'll guide you through the process of creating a Freshworks app which makes API requests and use authentication via OAuth.

What we’ll learn today

  1. Building a Freshworks App from scratch
  2. OAuth 2.0 on Freshworks developer platform
  3. Using OAuth to make API request to Freshservice

What we’ll need

  1. A modern web browser like Google Chrome, Firefox, Edge, or Safari.
  2. A text editor like Visual Studio Code, Sublime Text, or Notepad++.
  3. Basic knowledge of HTML, CSS, JavaScript, CLI, and Browser DevTools
  4. A Freshservice trial account
  5. Freshworks CLI

What we’ll build

You will build an app that runs in a Freshservice instance. When a button in the app is clicked, the app will create a ticket in Freshservice with a specific text. For this action, it will use OAuth to authenticate and authorise access for Freshservice.

Prerequisite Knowledge

  1. How users use Freshservice
  2. Read the Getting Started guide