For Developers

Integration Status Widget

The integration status plugin adds an embeddable frame that shows a district the state of one integration: the data source, data sync, sharing rules, and your application. It does not queue a sync.

Integration Status Plugin Preview
Integration Status Plugin Preview

Usage

1. Installation

First add the Widgets SDK script to your website. You can do this by adding the following script tag to your website:

<script src="https://ed.link/widgets/edlink@1.0.0.js"></script>

2. Initialization

Then initialize the SDK.

const edlink = new Edlink({
    client_id: '00000000-0000-0000-0000-000000000000',
    colors: {
        primary: '#e63946',
        primary_foreground: '#ffffff'
    }
});

Next create a widget instance. email is the district administrator who will sign in before the graphic loads. sync is optional and describes your own sync from Edlink into your application. It is not an activatePlugin option.

const widget = edlink.createWidget({
    root: document.getElementById('edlink-widget-root'),
    email: 'jaron@k12.mnps.org',
    sync: {
        status: 'complete',
        last_successful_sync_date: '2026-10-29T12:00:00.000Z'
    }
});

sync.status is complete, error, or working. Any other value is ignored. sync.last_successful_sync_date is an ISO-8601 string. Together they override the connector and the label on your application. Omit sync, or pass {}, to leave that connector and label on the integration's own state.

To change sync after the widget is already showing, send a config message. This does not remount the plugin.

widget.sendMessage('config', {
    sync: {
        status: 'working',
        last_successful_sync_date: '2026-11-11T18:00:00.000Z'
    }
});

3. Activation

Activate the plugin like so. integration_id is the only option, and it is required.

widget.activatePlugin({
    name: 'integration_status',
    options: {
        integration_id: '00000000-0000-0000-0000-000000000000'
    }
});

The widget will automatically appear because it is attached to a root element. No need to call show().

This widget will resize itself to fit its contents. It will set a fixed height on its iframe but you are welcome to constrain it with the root however you like. We reccomend placing it in an element that is free to resize in the y-axis.