Skip to main content
Docktix

Build a widget with AI

You can have an AI assistant such as Claude build a widget for you. Give it one link and say what you want. It reads the rules and the SDK from that link, then gives you the files and the values for the upload form.

Copy this prompt

Paste it into your AI assistant and replace the part in square brackets with what you want.

text
Read https://docktix.com/widgets-for-ai.txt and build me a Docktix widget that [describe what you want, for example: lists my clients who have not been contacted in the last 30 days, longest silence first, with a button to open each client's record].

Give me the widget's files (and a .zip if you can make one), and the values to type into the Docktix upload form.

The more specific you are, the better: say which module the widget is for (for example Cases), whether it only reads data or may also change it, and whether it should be a button on a record, a left-menu tab, or both.

What you get back

  • The widget's files, with an index.html as the entry page.
  • A .zip of those files. If your assistant cannot make a file, ask it for each file in full and zip them yourself, with index.html at the top.
  • The form values: the name, a description, the permissions it needs, the left-menu label if any, and which module gets a button and its label.

After you have the zip

  1. Open Settings > Widgets and choose Upload widget. You must be the firm Owner or an Administrator.
  2. Choose the zip. If Docktix shows a problem, copy it, paste it to your assistant and ask for a fixed zip.
  3. Type in the form values the assistant gave you, then choose Upload.
  4. Choose Install now, check the permissions, tick the profiles that may use it, and install.
  5. Open a record (for a button) or More in the left menu (for a tab) and try it. If something looks wrong, tell your assistant exactly what you see.
Check the permissions before you install. They apply to the whole firm. A widget with Read records can read the firm's records. Ask your assistant to request only what the widget needs, and read the list on the install screen.

Prefer to build it yourself? See Build a widget. Stuck? See Widget troubleshooting.