@commutatus/educatly-ambassador-plugin

Embeddable authentication for AIESEC

Usage no npm install needed!

<script type="module">
  import commutatusEducatlyAmbassadorPlugin from 'https://cdn.skypack.dev/@commutatus/educatly-ambassador-plugin';
</script>

README

Educatly Ambassador plugin

Demo: https://edu-ambassador.commutatus.com/ (Running staging environment)

Importing: If you are using it with any app having npm:

run npm install @commutatus/educatly-ambassador-plugin --save

import '@commutatus/educatly-ambassador-plugin

use css from

node_modules/@commutatus/educatly-ambassador-plugin/bundle.css

For all other use cases:

load script from https://unpkg.com/@commutatus/educatly-ambassador-plugin@latest/bundle.js

and css from

https://unpkg.com/@commutatus/educatly-ambassador-plugin@latest/bundle.css

Usage:

// HTML
<div id="educatly-ambassador-container"></div> 

// Javascript
const educatlyAmbassador = new EducatlyAmbassador({
  target: document.getElementById('educatly-ambassador-container'),
  props: {
    ei_id: 'your ei_id' // MANDATORY
  }
});
Option Default Value Description Type
ei_id EI ID given to your institution Integer