Anon is currently in open beta. To get access to start building on Anon’s platform, go to the Anon Console.

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 and start the application

2

Connect your LinkedIn account

3

Run an automated action

Prerequisites

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

  • Node.js
  • Git
  • Google Chrome

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
npm install

Run the Quickstart

1. Start the application

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

npm 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

2. Connect your LinkedIn account

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

1

Start the Anon Link process

Your Google Chrome 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.

3. 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?