Kili Technology allows you to make a project public in order to embed it in a third party application (web application, website, ...).
As soon as a project is public you can:
Share a URL that allows anyone to annotate on the project
Use this URL to embed Kili in a third party application
All annotations generated from a public URL are attached to a single user with the name
A user logged in from a public URL has LABELER rights on the project.
Making a project public is today an irreversible operation (a public project cannot be made private).
How to make a project public?
As a project admin, go to Settings > Admin.
Then click on the toggle in the section Make project public. Your project is now public.
To get the public URL to share, right click on this url, then Copy link address.
To test the public URL, paste it in a new web browser (private mode). You will then have access to the annotation interface.
How to embed a public project in a third party application?
To embed Kili in a third-party application, you simply create an
iframe pointing to the public URL.
Here is an example:
- Copy and paste the following code into a
- Replace the URL below with the public URL for your project.
- Open in a web browser.
<html> <body> <h1>Hello World!</h1> <iframe src="https://cloud.kili-technology.com/label?projectId=ckisqs0t300000jxlf5a1cki6&publicToken=fddf2ee6-50b2-4279-900d-25f133c6e443" width="640" height="480" ></iframe> </body> </html>
You will see the following result:
You can also point to a particular asset by specifying the asset ID in the URL (
ASSET_ID in the following snippet):