This article explains the Client applications tab accessible from the Admin Center. A client application lets an AI assistant, such as AWS Quick, Gemini Enterprise, or a Microsoft Copilot Studio agent, connect to the Templafy MCP Server on behalf of your users.
Prerequisites
|
Overview
The Client applications tab is found in the Admin Center under Account, at https://<tenantname>.templafy.com/admin/account/client-applications. Each client application represents one AI assistant that is allowed to sign your users in to Templafy and use the Templafy MCP Server for them. When you register an application, Templafy gives you everything the AI assistant asks for when you add Templafy as a remote MCP server:
- a Client ID and a Client secret;
- your organization's MCP server URL, Authorization URL, and Token URL.
A client application is the default way to connect an AI assistant to Templafy. It works with any AI assistant that supports remote MCP servers with OAuth 2.0 (authorization code with PKCE) and lets you enter your own Client ID and Client secret. Users always sign in with their own Templafy account; the Client secret only identifies the AI assistant.
NoteYou do not need a client application for Claude, ChatGPT, Microsoft 365 Copilot Chat, or Microsoft Copilot Cowork. Templafy maintains the connection for these assistants. See Templafy MCP Server. |
The tab lists all registered applications with their Name, Client ID, Status (Enabled or Disabled), and Created at date. Use Search by name to find an application, and select an application to open its details, which are divided into four tabs: Details, Redirects, Secrets, and Scopes.
How to register an application
- In the Client applications tab, click Register application
- Provide a Name, for example the name of the AI assistant. The name can be up to 50 characters and must be unique.
- Optionally provide a Description of up to 250 characters
- Under Application settings, paste the redirect URL of the AI assistant in Redirect URI and click Add redirect URI. Repeat this for every redirect URL the assistant uses.
- Select when the secret expires under Secret expires in: 90 days, 180 days, 365 days, or Never
- Click Register
- Copy the Client ID and the Client secret, then click Close
- Select the new application and click Enable
Note
|
How to connect the AI assistant
- In the Client applications tab, select the application
- On the Details tab, copy the Client ID, MCP server URL, Authorization URL, and Token URL
- In the AI assistant, add Templafy as a custom or remote MCP server with OAuth 2.0 authentication, and enter these values together with the Client secret
- Save the connection in the AI assistant and sign in with Templafy
| Field on the Details tab | Value | What the AI assistant usually calls it |
|---|---|---|
| Client ID | A unique identifier generated by Templafy | Client ID, application ID |
| MCP server URL | https://<tenantname>.mcp.templafy.com |
Server URL, MCP endpoint, remote MCP server URL |
| Authorization URL | https://<tenantname>.hive.templafy.com/connect/authorize |
Authorization URL, authorization endpoint |
| Token URL | https://<tenantname>.hive.templafy.com/connect/token |
Token URL, token endpoint, refresh URL |
The Details tab also shows the Status, Created at, and Created by of the application, and lets you change its Name and Description. For step-by-step examples for AWS Quick, Gemini Enterprise, Microsoft Copilot Studio, and other AI assistants, see Templafy MCP Server.
How to manage redirect URIs
A redirect URI, or reply URL, is the location where Templafy sends the user and delivers tokens once the user has successfully signed in. Sign-in only works when the redirect URL the AI assistant sends exactly matches one of the redirect URIs of the application.
- In the Client applications tab, select the application
- Navigate to the Redirects tab
- Enter the redirect URI and click Add redirect URI, or delete a redirect URI that is no longer used
- Click Save
Note
|
How to add or replace a secret
An application can have several secrets at the same time. This lets you replace a secret without interruption: add a new secret, update the AI assistant, and only then delete the old one.
- In the Client applications tab, select the application
- Navigate to the Secrets tab
- Click Add secret
- Select the lifetime of the secret under Expires in
- Click Add secret
- Copy the Client secret and click Close
- Enter the new secret in the AI assistant
How to delete a secret
- In the Client applications tab, select the application
- Navigate to the Secrets tab
- Click the delete icon next to the secret
- Confirm the deletion
Note
|
How to edit the scopes of an application
Scopes determine what the tokens issued to the AI assistant can be used for. The following scopes are available:
| Scope | What it does | When to use it |
|---|---|---|
offline_access |
Stay connected without signing in again for every session. | Almost always. Without it, users have to sign in again each time their access token expires. |
mcp.text_only |
Responses come back as text, without interactive UI. | For example for AWS Quick. Templafy then guides the user through a step-by-step text flow and returns download links, without the interactive Templafy widgets. |
Each scope has two settings:
- Allowed — the AI assistant may request this scope. Both scopes are allowed when an application is registered.
- Default — the scope is included in every token, even when the AI assistant doesn't request it. A scope must be allowed before it can be a default. No scope is a default when an application is registered.
- In the Client applications tab, select the application
- Navigate to the Scopes tab
- Select/unselect Allowed and Default for each scope
- Click Save
Note
|
How long users stay signed in
For AI assistants connected through a client application, Templafy issues tokens with these lifetimes:
- An access token is valid for 15 minutes. The AI assistant renews it automatically with a refresh token, provided the
offline_accessscope is applied. - A refresh token is valid for 7 days and is replaced every time it is used. A user who does not use the connection for 7 days has to sign in again.
- A session lasts at most 90 days. After 90 days the user signs in again, however often the connection was used.
How to disable or enable an application
- In the Client applications tab, select the application
- Click Disable
- Confirm
To enable the application again, select it and click Enable.
NoteAI assistants using a disabled application lose access to Templafy. The application, its redirect URIs, secrets, and scopes are kept, so after enabling it again no changes are needed in the AI assistant. Users may be asked to sign in again. |
How to delete an application
- In the Client applications tab, select the application
- If the application is enabled, click Disable and confirm
- Click on the ellipsis menu
- Click Delete
- Confirm
Note
|
Comments
Article is closed for comments.