> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apigene.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Applications

> Install, configure, and manage API integrations

## Overview

Applications are the foundation of Apigene Copilot. Each application represents an API or service that Copilot can interact with on your behalf. By installing and configuring applications, you enable AI-powered interactions with your tools and services.

![Applications list with search and Add application](https://mintcdn.com/apigene/0hgpHZPNnLa7OGmd/images/product/applications-list.png?fit=max\&auto=format\&n=0hgpHZPNnLa7OGmd\&q=85\&s=9d1ad8eeb2811e6c679c12574ef1e8f8)

Open the list from the **Design** workspace: **Build → Applications**.

## What Are Applications?

Applications are API integrations. OpenAPI specs, Postman collections, and SOAP WSDLs all become an application the AI can call. They provide:

* **API Operations**: Individual endpoints the AI can call
* **MCP Tools**: AI-friendly tools generated from API operations
* **Security Configuration**: Authentication and credential management
* **Metadata**: Context and descriptions for better AI understanding

## Application Lifecycle

### Discovery

Browse available applications or add custom ones

### Installation

Add the application to your workspace

### Configuration

Set up authentication and customize behavior

### Usage

Use the application in Copilot conversations

## Installing Applications

On **Applications**, **Add application** opens a chooser:

* **OpenAPI** — paste a specification URL or upload a JSON or YAML file
* **From Postman** — upload a Postman collection
* **From SOAP** — upload a WSDL or paste its URL
* **OpenLegacy Integration** — install a Hub project's OpenAPI (shown when Hub is connected)

**Install MCP Server** on the same page opens the [official native MCP catalog](https://docs.apigene.ai/user-guide/mcp-servers.md#install-from-the-official-catalog). That path is not an OpenAPI install.

### Method 1: From OpenAPI URL

Install applications directly from a URL:

1. Navigate to **Applications**
2. Click **Add application**
3. Choose **OpenAPI**
4. Enter the OpenAPI specification URL
   ```
   https://api.example.com/openapi.json
   ```
5. Click **Install**

**Supported Formats**

* JSON (`.json`)
* YAML (`.yaml`, `.yml`)
* OpenAPI 2.0 (Swagger)
* OpenAPI 3.0
* OpenAPI 3.1

### Method 2: Upload File

Install from a local OpenAPI specification file:

1. Navigate to **Applications**
2. Click **Add application**
3. Choose **OpenAPI**, then **Choose file** (or switch from a URL with the file control)
4. Click to select or drag and drop your file
5. Click **Install**

**File Requirements**

* Valid OpenAPI specification
* Maximum size: 10MB
* Formats: JSON or YAML

### Method 3: From Postman Collection

Install from a Postman collection. Apigene converts the collection to OpenAPI, then runs the normal application install and reindex flow.

1. Navigate to **Applications** → **Add application**
2. Choose **From Postman**
3. Upload your Postman collection file (JSON)
4. Wait for conversion and install to finish
5. Configure **Security** before making live calls

> [!NOTE]
>
> Conversion depends on collection structure. Nested folders become tags where possible. Review generated operations after install and reindex if tool metadata looks incomplete. If conversion fails, the error names the problem (invalid JSON, not a Postman collection, unresolved variables, or comments / stray quotes in the export).

### Method 4: From OpenLegacy Hub

Install a Hub project's OpenAPI as an application. Hub must be connected under **Settings → Organization → Open Legacy** (including **Use in Agent Builder**). See [OpenLegacy Hub](https://docs.apigene.ai/user-guide/openlegacy.md).

1. Navigate to **Applications** → **Add application**
2. Choose **OpenLegacy Integration**
3. Search and select a Hub project (method count, last updated, and an **Installed** badge appear when relevant)
4. Click **Install** (or **Open** if that project is already installed)

The Hub card is shown only when the organization can reach Hub. Installation uses the same index and metadata flow as a file or URL import.

### Method 5: From SOAP (WSDL)

Install a SOAP 1.1 or 1.2 service. Apigene reads the WSDL, converts the selected port to OpenAPI, then runs the normal application install and reindex flow. OpenAPI installs are unchanged.

1. Navigate to **Applications** → **Add application**
2. Choose **From SOAP**
3. Paste a WSDL URL or upload a `.wsdl` or `.xml` file
4. If the WSDL has more than one SOAP port, choose the port. The list shows the port name, SOAP version, and operations. A single port is selected for you
5. Optionally click **Add authentication** and choose **HTTP Basic**, **Bearer token**, or **API key**. For an API key, set the header name. The secret itself is entered on **Security** after install
6. Click **Install**

> [!NOTE]
>
> Only document/literal WSDLs are supported. Encoded bindings are rejected. If the WSDL cannot be read yet, the form explains why; you can still try **Install**.

### Method 6: Native MCP Server

To connect a remote MCP server instead of a spec or WSDL:

1. On **Applications**, click **Install MCP Server**, **or** open **MCP** in the main nav
2. Follow [Native MCP Servers](https://docs.apigene.ai/user-guide/mcp-servers.md) — official catalog, registry, or custom URL

### Installation Process

When you install an OpenAPI-based application, Apigene:

1. **Checks LLM configuration**
   * Installing or reindexing an application requires at least one model provider configured for the organization
   * A spec file that already includes its summary and agentic metadata installs without that key. The form says so and asks for the application name
   * If no provider is configured and the file is not one of those bundles, complete [Settings → AI Models](https://docs.apigene.ai/user-guide/settings.md) first, then retry

2. **Validates the specification** (or converts Postman or WSDL → OpenAPI first)

3. **Creates agentic metadata**
   * Generates tool descriptions
   * Extracts parameter information
   * Creates operation summaries

4. **Initializes configuration**
   * Sets up security placeholders
   * Creates default settings
   * Prepares for first use

The installation typically takes 10-30 seconds depending on the API size.

## Configuring Applications

After installation, configure your application for use:

### General Settings

Access via **Applications** > \[Application Name] > **General** tab

**Basic Information**

* **API Name**: Unique identifier (read-only)
* **API Title**: Display name for the application
* **Description**: What the application does
* **Version**: API version (from specification)
* **Domain URL**: Base URL for API calls

**Visibility**

* **Private**: Only you can use it
* **Organization**: Available to your team
* Toggle visibility as needed

### Security Configuration

Access via **Applications** > \[Application Name] > **Security** tab

This is the most critical configuration step. Without proper security setup, the application cannot make API calls.

#### Authentication Types

**API Key**

```
Security Scheme: API Key
Location: Header / Query Parameter / Cookie
Parameter Name: X-API-Key (example)

Configuration:
- Enter your API key
- Specify where it should be sent
- Save credentials
```

**Bearer Token**

```
Security Scheme: HTTP Bearer
Format: JWT (typical)

Configuration:
- Enter your bearer token
- Token is sent in Authorization header
- Refresh tokens if needed
```

**OAuth 2.0**

```
Security Scheme: OAuth2
Flow: Authorization Code / Client Credentials

Configuration:
- Client ID
- Client Secret
- Authorization URL
- Token URL
- Scopes (permissions needed)
```

**Basic Authentication**

```
Security Scheme: HTTP Basic
Encoding: Base64 (username:password)

Configuration:
- Username
- Password
- Automatically encoded
```

**Custom Authentication**

```
Security Scheme: Custom headers

Configuration:
- Add any custom headers required
- Support for multiple headers
- Dynamic value substitution
```

#### Credential scope (Basic / Bearer / API key)

For static schemes (API key, Bearer, Basic), choose how secrets are stored:

| Scope | Behavior |
| - | - |
| **Org-shared** (default) | One secret for the whole organization — everyone uses the same credentials |
| **Per-user** | Each person connects their own Basic / Bearer / API key |

**When to use per-user**

* Each teammate has their own provider account or personal token
* You do not want a shared org secret
* Chat prompts users to connect before calling the API

**How to enable**

1. Open **Applications** > \[Application Name] > **Security**
2. Select a static scheme (API key, Bearer, or Basic)
3. Set **Credential scope** to **Per-user**
4. Turn off shared security if it is still enabled (shared org secrets conflict with per-user scope)

**How each user connects**

1. On the Security tab, under **User credentials**, click **Connect**
2. Complete the connect-credentials form (or follow the connect link shown in chat when login is required)
3. Use **Clear credentials** to remove your personal secret without changing the org scope

OAuth flows continue to use their normal connect / authorize path; credential scope applies to static Basic / Bearer / API key schemes.

#### Security Setup Steps

1. **Identify Authentication Method**
   * Check application documentation
   * Look at the Security tab
   * Note required credentials

2. **Choose credential scope**
   * Org-shared for a single team secret
   * Per-user when each member must use their own key

3. **Obtain Credentials**
   * Generate API keys from provider
   * Complete OAuth flow if needed
   * Get service account or personal credentials

4. **Configure in Apigene**
   * Org-shared: enter credentials in the Security tab and save
   * Per-user: each user clicks **Connect** (or uses the chat connect link)

5. **Verify Setup**
   * Use application in Copilot
   * Check for authentication errors
   * Update or clear credentials when they expire

### API Operations

Access via **Applications** > \[Application Name] > **Operations** tab

View and manage all available API endpoints:

**Operation List**

* Method (GET, POST, PUT, DELETE, etc.)
* Path (e.g., `/api/v1/users`)
* Summary description
* Tags for organization

**Operation Details**

* Full description
* Parameters (path, query, body)
* Request examples
* Response schemas
* Status codes

**Search and Filter**

* Search by operation name or description
* Filter by HTTP method (GET, POST, etc.)
* Filter by **path prefix** (e.g. `/api/v1/users`)
* Filter by one or more **tags**
* Clear filters to reset the list; pagination respects the active filter set

### MCP Tools Configuration

Access via **Applications** > \[Application Name] > **MCP Tools** tab

MCP (Model Context Protocol) tools are AI-optimized versions of your API operations.

**Tool Information**

* Tool name (e.g., `github_create_issue`)
* Description for AI understanding
* Required parameters
* Optional parameters
* Success criteria

**Customization Options**

* Edit tool descriptions
* Modify parameter hints
* Add usage examples
* Set default values
* Adjust inputs, response handling, and UI templates where available

**Tool Generation**

* Automatically created during installation
* One tool per API operation
* Can be regenerated via **reindex** (see below)
* Updates reflect in Copilot after reindex completes

### Agentic metadata list

Access via **Applications** > \[Application Name] > **Metadata** tab

Browse and manage generated agentic metadata for each operation:

**Search and Filter**

* Search by operation ID or description
* Filter by metadata **type**
* Filter by **priority rating** (1 = highest priority, 10 = lowest)
* Results sort by rating so high-value operations surface first

Use these filters on large specs to find operations that need description or rating edits before reindexing.

### Reindex and agentic metadata

Reindex regenerates MCP tool metadata from the current OpenAPI specification. Use it when:

* You updated the OpenAPI spec
* Tool descriptions look stale or incomplete
* Install finished but metadata is still generating
* Postman conversion produced a coarse operation set you refined in the spec

**How to reindex**

1. Open **Applications** → select the application
2. Use the **MCP Tools** / metadata area **Reindex** action
3. Watch status: queued → in progress → success or failure
4. Keep an organization model provider configured — reindex requires LLM access for agentic metadata

While reindex runs, the UI may show progress labels such as “Reindexing queued” or “Reindexing in progress”. Do not delete the application mid-run.

OpenAPI applications are exposed as Apigene MCP tools for agents and the gateway. That is separate from installing a [native MCP server](https://docs.apigene.ai/user-guide/mcp-servers.md). Programmatic creation of an MCP server record from an API name is also available via the [MCP Server API](https://docs.apigene.ai/api-reference/mcp-server/mcp-create-from-api.md).

### Common Parameters

Access via **Applications** > \[Application Name] > **Common Parameters** tab

Set default values for parameters used across multiple operations:

**Use Cases**

* Organization ID (consistent across all calls)
* API version preference
* Response format preferences
* Default pagination limits

**Configuration**

* Parameter name
* Default value
* Apply to all operations or specific ones
* Override in individual calls if needed

**Benefits**

* Reduce repetitive input
* Ensure consistency
* Simplify Copilot interactions
* Minimize errors

## Managing Applications

### Application List

The Applications page shows all installed applications:

**Information Displayed**

* Application icon (auto-generated from domain)
* Application name and title
* Description
* Security status (configured ✓ / not configured ⚠️)
* Installation date

**Actions**

* Click to view/edit details
* Delete application
* Refresh metadata
* Export configuration

### Searching Applications

Use the search bar to find applications:

* Search by name
* Search by description
* Filter results in real-time

### Updating Applications

When APIs change, update your applications:

1. Go to application details
2. Click **Update Specification**
3. Provide new URL or file
4. Review changes
5. Save updates

**What Gets Updated**

* New operations added
* Removed operations deprecated
* Modified parameters reflected
* Security schemes updated
* MCP tools regenerated

### Deleting Applications

Remove applications you no longer need:

1. Navigate to Applications page
2. Find the application
3. Click the delete icon
4. Confirm deletion

**Impact of Deletion**

* All configuration is removed
* MCP tools become unavailable
* Copilot conversations can no longer use it
* Agents using this application will show errors
* Historical data is retained

## Application Status Indicators

### Security Status

**✓ Configured** (Green)

* Authentication is set up (org-shared secret saved, or per-user credentials connected)
* Application is ready to use
* API calls will succeed

**⚠️ Not Configured** (Red)

* Missing credentials (org secret not saved, or you have not connected yet in per-user mode)
* Application cannot make API calls
* Configuration required

**🔄 Needs Update** (Yellow)

* Credentials may be expired
* Security scheme or credential scope changed
* Reconfiguration recommended

### Connection Status

**Connected** (Green)

* Successfully making API calls
* Credentials are valid
* Service is reachable

**Failed** (Red)

* Authentication errors
* Network issues
* Service unavailable

**Untested** (Gray)

* Not yet used in conversations
* Status unknown
* Test needed

## Best Practices

### Installation

**Choose Quality Specifications**

* Use official OpenAPI specs when available
* Verify specification completeness
* Check for recent updates

**Name Consistently**

* Use clear, recognizable names
* Include version if relevant
* Follow team naming conventions

### Configuration

**Secure Credential Management**

* Use service accounts when possible
* Rotate credentials regularly
* Don't share credentials publicly
* Use environment-specific keys (dev/prod)

**Test After Configuration**

* Make a simple API call in Copilot
* Verify authentication works
* Check returned data format
* Confirm permissions are sufficient

### Maintenance

**Monitor Usage**

* Check Insights for application usage
* Identify unused applications
* Review API call success rates
* Monitor for errors

**Keep Updated**

* Update specifications when APIs change
* Review security configurations quarterly
* Remove deprecated applications
* Document configuration changes

**Optimize Performance**

* Set common parameters to reduce overhead
* Configure only necessary operations
* Use appropriate authentication methods
* Monitor rate limits

## Advanced Features

### Custom Operation Metadata

Enhance AI understanding of operations:

```yaml theme={null}
Operation: createUser
Enhanced Description: |
  Creates a new user account in the system.
  
  Requirements:
  - Email must be unique
  - Password must be at least 8 characters
  - Username can only contain alphanumeric characters
  
  Returns the created user object with auto-generated ID.
  
  Example usage:
  "Create a new user with email john@example.com"
```

### Parameter Templates

Create reusable parameter sets:

```yaml theme={null}
Template: CreateIssue
Parameters:
  project_id: "PROJ"
  priority: "medium"
  issue_type: "task"
  
Usage: 
  "Create an issue in PROJ with these defaults"
```

### Response Transformation

Configure how responses are displayed:

* **Full Response**: Show complete JSON
* **Summary**: Show key fields only
* **Custom Format**: Define what to extract
* **Error Handling**: Custom error messages

### Webhook Integration

For supported applications:

* Configure webhook endpoints
* Receive real-time updates
* Trigger automated workflows
* Enable event-driven actions

## Troubleshooting

### Installation Fails

**Invalid Specification**

* Verify OpenAPI format
* Use validation tools
* Check for syntax errors
* Ensure all required fields present

**Network Errors**

* Check URL accessibility
* Verify no authentication required for spec
* Try downloading and uploading as file
* Check firewall settings

### Authentication Issues

**401 Unauthorized**

* Verify credentials are correct
* Check if tokens have expired
* Confirm account has API access
* Review authentication method

**403 Forbidden**

* Check account permissions
* Verify required scopes granted
* Contact service administrator
* Review API access policies

### API Calls Failing

**Network Errors**

* Check internet connection
* Verify API service is online
* Review firewall rules
* Check for rate limiting

**Invalid Parameters**

* Review required vs optional parameters
* Check parameter data types
* Verify parameter formats
* Review API documentation

**Response Errors**

* Check API status page
* Review error messages
* Verify data format expectations
* Check for breaking changes in API

## Next Steps

* [Use applications in Copilot](https://docs.apigene.ai/user-guide/copilot.md) to execute API operations
* [Create agents](https://docs.apigene.ai/user-guide/agents.md) with specific application access
* [Monitor usage](https://docs.apigene.ai/user-guide/insights.md) in Insights
* [View API call logs](https://docs.apigene.ai/user-guide/actions.md) for debugging


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.