---
title: "TinyMCE AI API Quick Start"
description: "Quick start guide for TinyMCE AI service"
canonical_url: "https://www.tiny.cloud/docs/tinymce/latest/tinymceai-api-quick-start/"
md_url: "https://www.tiny.cloud/docs/tinymce/latest/tinymceai-api-quick-start/index.md"
version: "latest"
last_updated: "2026-09-28T00:27:52Z"
tokens: 1253
---
# TinyMCE AI API Quick Start

This guide helps users get up and running with the TinyMCE AI service.

> **Tip:** Sign up for the [TinyMCE Premium Features 14-day free trial](/auth/signup) to test this feature first.
> 
> The TinyMCE Premium Features free trial allows for testing SaaS services. For on-premises solutions, [contact us](/contact).

## Getting Started

Every request to the TinyMCE AI APIs must include a JWT signed with a keypair from the Customer Portal. Signing must run on the application server so private keys are never exposed to the browser. The editor supplies each token by calling [tinymceai_token_provider](../tinymceai/#tinymceai_token_provider), which is typically implemented as a `fetch` to a backend URL that returns a signed JWT for the signed-in user.

To start using the service:

- Sign up for one of the [self-service plans](/pricing), or [contact us](/contact) to purchase the TinyMCE AI license.
- Generate access credentials in the [Customer Portal](/my-account).
- During a Tiny Cloud trial, the [demo identity service](../tinymceai-jwt-authentication-intro/#trial-demo-identity-service) can issue JWTs (JSON Web Tokens) for testing without a custom token endpoint. See [JWT Authentication](../tinymceai-jwt-authentication-intro/).
- For production, add [Writing your own token endpoint](#writing-your-own-token-endpoint): a backend HTTPS route that signs short-lived JWTs with the portal keypair for each authorized end user. See [JWT Authentication](../tinymceai-jwt-authentication-intro/) for the full flow and code examples.

All steps are explained in detail below.

## Get the TinyMCE AI license

TinyMCE AI can be purchased as a plugin for selected tiers of the self-service plans. Details are available on the [pricing page](/pricing).

For custom plans, [contact us](/contact) directly.

For testing purposes, sign up for the [free trial](/auth/signup).

After signing up, access to the [customer dashboard (Customer Portal)](/my-account) is provided.

## Log in to the Customer Portal

Log in to the [Customer Portal](/my-account) and navigate to ["JWT Keys"](/my-account/jwt/).

![JWT Keys page showing Secure Keys List](../_images/tinymceai/tinymce-ai-customer-portal-jwt-keys-page.png)
For trial setup without a custom token endpoint, see [Trial: demo identity service](../tinymceai-jwt-authentication-intro/#trial-demo-identity-service) in [JWT Authentication](../tinymceai-jwt-authentication-intro/).

## Create token endpoint

The next step for production is to create a security token endpoint in the application backend. That endpoint securely authorizes end users to use TinyMCE AI features based on their permissions and access rights. The editor calls this endpoint through [tinymceai_token_provider](../tinymceai/#tinymceai_token_provider) in [Plugin Reference](../tinymceai/). API integrations use the same JWT when calling `https://tinymceai.api.tiny.cloud`; see [JWT Authentication](../tinymceai-jwt-authentication-intro/) for request details.

### Writing your own token endpoint

To create a custom security token endpoint, generate a keypair in the [JWT Keys](/my-account/jwt/) area of the Customer Portal. In the "Generate New Keypair" section, enter a description, select the key length, and click "Add Key". Alternatively, use "Import Public Key" to add an existing key.

Once the keypair is created, use it to sign JWTs in the token endpoint. For step-by-step implementation instructions with complete code examples, see:

- [JWT authentication (Node.js)](../tinymceai-with-jwt-authentication-nodejs/): Complete Node.js implementation guide
- [JWT authentication (PHP)](../tinymceai-with-jwt-authentication-php/): Complete PHP implementation guide

## API Integration

All features are accessible through the API at `https://tinymceai.api.tiny.cloud` with [JWT authentication](../tinymceai-jwt-authentication-intro/).

For an overview of all API features, see [API Overview](../tinymceai-api-overview/).

For feature documentation and API access information, see:

- [Chat](../tinymceai-chat/#conversations-api): Interactive AI discussions and document analysis through the Conversations API.
- [Review](../tinymceai-review/#reviews-api): Content improvement and quality analysis through the Reviews API.
- [Quick Actions](../tinymceai-actions/#actions-api): Content transformation through the Actions API.
- [Streaming](../tinymceai-streaming/): Real-time AI interactions with code examples.

[Complete API Documentation](https://tinymceai.api.tiny.cloud/docs): Full API reference with interactive examples for all endpoints.

## Next Steps

After setting up the JWT endpoint, continue with:

- [AI Models](../tinymceai-models/): Choose the right model for your use case.
- [Verify model limits](../tinymceai-models/#verifying-model-limits-for-integration): Match the configured model id to `GET /v1/models/{version}` and read `limits` and `capabilities`.
- [Permissions](../tinymceai-permissions/): Set up user access control for production.
- [Streaming](../tinymceai-streaming/): Learn how to handle real-time streaming responses.
- [Chat API](../tinymceai-chat/#conversations-api): Start with interactive AI discussions.
- [Review API](../tinymceai-review/#reviews-api): Add content improvement features.
- [Quick Actions API](../tinymceai-actions/#actions-api): Implement content transformation.
- [API Overview](../tinymceai-api-overview/): Optional high-level map of Chat, Review, Quick Actions, and related resources.
