Best for
- Teams that already standardize on OpenAI and want one provider for code + documents
- High-quality long-form generation (contracts, proposals, reports) on GPT-4o
- Cost-sensitive bulk drafting on GPT-4o mini
Use OpenAI GPT-4o or GPT-4o mini to generate and edit documents.
AI Provider
Plug your OpenAI API key into GJSDocs to drive document generation with GPT-4o or GPT-4o mini. The editor sends your prompt plus the relevant context (selection, current page, or whole document) and OpenAI returns structured JSON that the editor renders as Tailwind sections — with all dynamic values automatically extracted into reusable variables.
Open https://platform.openai.com/api-keys and sign in (or create an account).
Click Create new secret key, name it (e.g. "GJSDocs"), and copy the key (starts with "sk-…") — shown only once.
Add billing credits at platform.openai.com/billing if your account is new.
In GJSDocs, open Workspace → Integrations and enable ChatGPT (OpenAI).
Paste the key and Save — the key is AES-256-GCM encrypted before storage.
Examples of variable keys you can use inside templates:
Prompt: "Generate an NDA between a startup and a contractor for a 12-month engagement"Prompt: "Rewrite this section in plain English, target reading age 12"Prompt: "Add a footer with company contact details and a signature block"