Skip to content

agnostack/custom-integration

Repository files navigation

Sample Custom Integration Provider 🚀

This repository contains a sample implementation of a Custom Integration Provider to use with agnoStack.


Prerequisites

  • Node.js (v18.20.0 or higher)
  • Yarn (or similar package manager)
  • nvm (optional)
nvm install
npm install yarn -g

Install repo dependencies

yarn install

Generate new keypair

Use the generate-keypair.js script to create a new keypair for your local environment.

Populate .env with the value for PUBLIC_KEY as PRIVATE_KEY from the generated output.

NOTE: You will also need the generated PUBLIC_KEY value to enter into agnoStack in the Custom Integration Provider settings into the "Public Key" field.

Setup env vars

Populate .env with the value for SHARED_SECRET from agnoStack (available in the Custom Integration Provider settings into the "Shared Secret" field).

Local testing

yarn watch

NOTE: this will run your local project via serverless offline AND also generate an ngrok URL that you can then enter into agnoStack in the Custom Integration Provider settings in the "API Path" field.

AWS Deployment

yarn deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published