Anon is currently in private beta. To get access to start building on Anon’s platform, click here.

Introduction

Let’s get you started with some automated integration magic. 🔌🌐

In this example, you’ll use Anon to connect your LinkedIn account and create a post. All in less than 10 minutes!

1

Set up the project

2

Connect your LinkedIn account

3

Run an automated action

Prerequisites

Before you begin, make sure you have the following installed:

  • Node.js
  • Yarn package manager
  • Git

You’ll also need an Anon API key. Head to console.anon.com to sign up and get one!

Setup

Clone the examples repo

git clone https://github.com/anon-dot-com/examples.git

Install dependencies

Go to the quickstart and install the dependencies:

cd examples/quickstart
yarn install

Run the Quickstart

Start the application

Execute the following command, replacing <API_KEY> with your actual Anon API key:

yarn run quickstart <API_KEY>

This command performs three actions:

  1. Starts the backend server on BACKEND_PORT (default 4001)
  2. Launches the frontend server on FRONTEND_PORT (default 4002)
  3. Opens your default web browser to initiate the Anon Link process

Connect your LinkedIn account

Follow the on-screen instructions in your browser to connect your LinkedIn account using Anon Link.

1

Start the Anon Link process

The browser should automatically open and start the Anon Link process.

2

Install the Anon Link Chrome Extension

Follow the instructions to install the “Anon Link” Chrome extension.

3

Login to LinkedIn

Log in to LinkedIn when prompted. Once you’ve logged in, the app will detect the session and proceed.

Run an automated action

Once your account is connected, the script will automatically create a post on LinkedIn using Anon’s actions library.

You should see the action being performed in the Playwright browser that opens automatically.

Congratulations! You’ve experienced the integration magic end-to-end. 🔌🌐

Customization

You can customize the automated action by modifying the RUN_ACTION constant in index.ts.

Some examples are provided, such as creating a post or sending a message on LinkedIn.

Next Steps

Reach out to the Anon team anytime by contacting our support email. You can also ping our founder Daniel.

Ready to start integrating into your app?