Purchase
Go to Editor in the dashboard, choose a plan and pay with Stripe. Only the organization’s owner can buy it, and only from the dashboard: an API key can’t. The dashboard shows each plan’s price, VAT included, before you pay.
Once active, the dashboard gives you:
- a licence key (
ek_eu_…orek_us_…), which you pass inlicenseKey; - the list of domains where the editor opens;
- your npm token (see install).
7-day free trial
The first time an organization buys the monthly or yearly plan, the first 7 days are free. You enter your card in Stripe, nothing is charged that day, and the dashboard shows “free trial until …”.- During the trial you get everything: key, domains and npm token.
- When it ends, the first period is charged and the subscription continues on its own.
- If you cancel before the end, you pay nothing and the editor stops opening when the trial ends.
- There is one trial per organization. The one-time plan has no trial: to try the editor, use
localhostor the monthly plan.
Domains
You can add up to 5 domains. Each one is a host name:
The editor opens on https only. Enter the host name without
https:// and without a path:
app.yourcompany.com, not https://app.yourcompany.com/editor.
On localhost, 127.0.0.1, [::1] and *.localhost, the editor always opens, with or without a key, and shows
a “development licence” notice. You can build without using up a domain.
What happens when it opens
- The editor asks Doconda for a permit for the site it runs on (
POST /v1/editor/token?key=…). The browser sets the site’s address; the page can’t change it. - Doconda checks that the key exists, that the subscription is paid and that the site is in your domains.
- If all is well, it returns a signed permit for that site, valid for 1 hour. The editor checks the signature, keeps the permit in the browser and renews it in the background every 15 minutes. If the network drops while editing, the editor keeps working.
onError("editor_unlicensed"). That’s why your key can go in your site’s code: outside your domains it’s useless.
On your server
Server export is included in the licence. Your server asks for its own permit with your API key, with no domain check. That permit lasts 1 hour, can’t open the editor in a browser, and doesn’t let anyone into a room.AI assistant
Every plan, the one-time plan too, includes 2,000 edits a month with the AI assistant per organization. The count resets on the 1st of each month.- An edit is a request that changes the document. A request that changes nothing or fails doesn’t count.
- From the 2,001st edit, each one costs €0.01 from the organization’s balance, the same one the API uses. With no balance, the assistant says so and doesn’t make the edit.
- To never pay for more, tick Don’t go over the included edits in the dashboard: at 2,000 the assistant stops until the next month.
- Editor shows how many edits you’ve used this month.
- A complex edit (with Complex edits on) is made by the document agent and charged like an edit through the API at the level it used (€0.10, €0.30 or €1.00), on top of the assistant’s edit.
Renewals and cancellations
Change the key
Go to Editor → Rotate. The previous key stops working at once, and permits already issued expire within 1 hour. The npm token changes too, so update the key in your code and the token in your environment variables.How the plugin is protected
- It’s delivered compiled and obfuscated, never as source code, from Doconda’s npm registry with a personal token that only works with an active licence.
- Every copy carries a mark of the organization that downloaded it. If a copy shows up with another organization’s licence, Doconda knows.
- The licence is checked when the editor opens, when it renders and when it saves or exports (in any format, PDF included), and the permit is renewed every 15 minutes.
- The terms of use forbid decompiling it, bypassing the licence, removing the mark or using it after the subscription ends.
Errors
Related
Editor plugin
Install, open and save files.
Customize the AI assistant
Where it shows, your own component and its API.