Client SDK
The Client SDK is a lightweight, dependency-free script that adds a guided sidebar to the target page. It works within your browser extension or companion window and is designed to sit cleanly alongside the host site without interfering with it.
Loading
Add the script to your extension or app, then call start:
<script src="https://cdn.edgetasker.com/sdk/v1.js"></script>EdgeTasker.start(config)
EdgeTasker.start({
apiBaseUrl: "https://api.edgetasker.com", // required
apiKey: "ef_live_...", // required
workflowId: "wf_...", // required
inputData: { search_term: "Sardines" }, // optional
});Returns a promise resolving to the live engine, or rejecting on a fetch failure.
What it does
- Shows a guided sidebar with progress, a task list, and Next/Back controls.
- Finds the right field on the page and fills it in, adapting when sites change their layout.
- Updates the field so the host site registers the value as if the user typed it.
- Stops before important clicks — the user completes checkout, save, or 2FA themselves.
- Reports step completion and outcomes back to your analytics.
Controls
| Method | Effect |
|---|---|
EdgeTasker.start(config) | Start a workflow and show the guided sidebar. |
EdgeTasker.stop() | Close the sidebar and end the session. |
Design guarantees
- No credentials are ever collected or transmitted by the SDK.
- The sidebar stays visually isolated from the host page.
- Safe to load more than once — it won't duplicate itself on a page.
EdgeTasker