2.0.0-beta.6 • Published 21 hours ago

flightkit v2.0.0-beta.6

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
21 hours ago

flightkit-200

Flightkit

v2.0.0-beta.6

Flybits Flightkit is a fully contained, framework agnostic solution for personalized UI and Content within your web applications. Composed of native web components you can simply drop pure HTML tags into your application and view curated experiences from the Flybits platform.

Quickstart

Here is the bare minimum code required to quickly embed a Flybits powered UI container within your existing application. For more flexible and robust options, read more in the following sections starting with Installation.

  1. Import

via NPM:

$ npm install flybits flightkit --save
import Flybits from 'flybits/dist/flybits.mjs';
import { FlybitsSlot } from 'flightkit';

or via a CDN

<!-- Import the Flybits.js core SDK -->
<script src="https://cdn.jsdelivr.net/npm/flybits@2.11.3/dist/flybits.min.js"></script>
<!-- Import the Flightkit library -->
<script type="module" src="https://cdn.jsdelivr.net/npm/flightkit@2.0.0-beta.5/dist/flightkit.js"></script>
  1. Declare
<flybits-slot ref-id="offers"></flybits-slot>
  1. Authenticate
<script>
  // Use existing Flybits.js authentication strategies
  Flybits.init({
    HOST: 'https://api.demo.flybits.com'
  }).then(function(){
    return Flybits.Session.connect(new Flybits.idp.AnonymousIDP({
      projectID: '42FA7D27-9D44-42ED-A112-EAED2385B36C'
    }))
  })
</script>
  1. Enjoy Contextual Personalized Content

Carousel of curated content

Note: Layouts & content must be configured within the Flybits Experience Studio for them to appear within a FlybitsSlot.

2.0.0-beta.6

21 hours ago

2.0.0-beta.5

19 days ago

2.0.0-beta.4

2 months ago

2.0.0-beta.3

2 months ago

2.0.0-beta.2

2 months ago

2.0.0-beta.1

2 months ago

2.0.0-beta.0

2 months ago

1.0.1-alpha.0

2 years ago

1.0.0

6 years ago