2.12.7 • Published 2 months ago

@bigbinary/neeto-integrations-frontend v2.12.7

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
2 months ago

neeto-integrations-nano

The neeto-integrations-nano provides support for third-party integrations to neeto applications. The nano exports the @bigbinary/neeto-integrations-frontend NPM package and neeto-integrations-engine Rails engine for development.

The engine handles the authentication, webhooks and token management for integrations with the following providers.

  • Meta ( Facebook, Instagram, WhatsApp )
  • Google ( Analytics, YouTube )
  • Microsoft ( MS Teams)
  • Zapier
  • Twilio

Host can provide required permissions for a supported third-party integration, then engine will handle the authentication, token storing and refreshing for the host. Tokens, account details and webhook subscription details are stored in tables handled by the engine.

The frontend package provides components to handle integration card, steps, disconnect and other integration configuration page support.

Contents

  1. Development with Host application
  2. Instructions for publishing

Development with Host application

Engine

Installation

  1. Add the gem to your Gemfile.
source "NEETO_GEM_SERVER_URL" do
  gem "neeto-integrations-engine"
end
  1. Run bundle install

  2. Add the required env variables to .env.development and update your secrets.yml. Refer OAuth Config for more details on specific integrations.

  3. Import migrations to your project:

bundle exec rails neeto_integrations_engine:install:migrations
  1. Add the migrations to the database:
bundle exec rails db:migrate
  1. Add the Integrations List required to config/neeto_integrations.yml. Also, add the required integration(not natively supported by engine) as other_applications for post Integration UI support.
applications:
  - title: "Instagram Chat"
    service_name: Instagram
    provider: Facebook
    service_type: Social
    scope:
      - email
      - public_profile
      - pages_show_list
      - instagram_manage_messages
      - instagram_basic
other_applications:
  - title: "neetoDesk"
    service_name: neetoDesk
    service_type: Support
    provider: neeto

Refer the Oauth Config for list of supported provider, service_name and service_type.

  1. Import data migration to update the integrations list with the newly added integration from config/neeto_integrations.yml:
bundle exec rails generate neeto_integrations_engine:integrations_list:update

Or manually execute the following command in all the environments to update the integrations list. Although the above approach is recommended.

bundle exec rails neeto_integrations_engine:integrations_list:update
  1. Mount Neeto Integrations to your routes.rb:
mount NeetoIntegrationsEngine::Engine => "/neeto_integrations"
  1. Add association to User model:
has_many :auth_requests, class_name: "NeetoIntegrationsEngine::AuthRequest", dependent: :destroy
  1. Add association to Organization model:
has_many :integrated_apps, class_name: "NeetoIntegrationsEngine::IntegratedApp", dependent: :destroy
  1. If you want your integration to be specific to other model like User, Form , etc, add association as:
has_many :integrated_apps, as: :integrable, class_name: "NeetoIntegrationsEngine::IntegratedApp", dependent: :destroy

Details

neeto products currently using this engine

ProductsIntegrated (Used in production)Integration (Currently in development/staging)
neetoChat:x:Instagram, WhatsApp, Twilio, Zapier, MS Teams
neetoSocialInstagram(page), Facebook(page), Google(Analytics, YouTube), Twitter:x:
neetoCalMS Teams:x:
neetoForm:x:MS Teams

Frontend package - @bigbinary/neeto-integrations-frontend

npm npm

UI for integrations for all neeto products.

Installation

yarn add @bigbinary/neeto-integrations-frontend

Usage

Available components:

Product integrations

ProjectsIntegrationsFrontend
neetoChat:white_check_mark:
neetoDesk:white_check_mark:
neetoForm:white_check_mark:
neetoInvoice:white_check_mark:
neetoKB:white_check_mark:
neetoMonitor:white_check_mark:
neetoCal:white_check_mark:

Instructions for development

Check the Frontend package development guide for step-by-step instructions to develop the frontend package.

Instructions for Publishing

Consult the building and releasing packages guide for details on how to publish.

2.12.7

2 months ago

2.12.6

2 months ago

2.12.5

2 months ago

2.12.4

2 months ago

2.12.3

4 months ago

2.12.1

4 months ago

2.12.2

4 months ago

2.12.0

4 months ago

2.11.0

4 months ago

2.10.6

4 months ago

2.10.5

4 months ago

2.10.4

4 months ago

2.10.3

4 months ago

2.10.1

5 months ago

2.10.2

5 months ago

1.2.0

11 months ago

1.1.1

11 months ago

1.5.0

10 months ago

1.4.0

10 months ago

1.2.2

11 months ago

1.3.0

10 months ago

1.2.1

11 months ago

2.3.0

9 months ago

2.2.1

9 months ago

2.2.0

10 months ago

2.1.1

10 months ago

2.5.0

7 months ago

2.4.0

7 months ago

2.3.1

8 months ago

2.7.0

6 months ago

2.5.2

6 months ago

2.6.0

6 months ago

2.5.1

6 months ago

2.9.0

6 months ago

2.8.0

6 months ago

2.7.1

6 months ago

2.5.3

6 months ago

2.1.0

10 months ago

2.0.0

10 months ago

1.1.0

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago