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

# ServiceNow

> Connect ServiceNow to Langdock to manage incidents, tasks, and configuration items from your conversations

## Overview

ServiceNow is an IT service management platform for operations automation and workflow orchestration. Once connected, you can use Langdock to create and manage incidents, search tasks, look up users and groups, and query configuration items directly from your conversations.

> [!NOTE]
>
> **Authentication:** OAuth
> **Category:** IT Service Management
> **Availability:** All workspace plans

## Prerequisites

* A ServiceNow instance with admin access
* An OAuth application registered on your ServiceNow instance (required before connecting)

## Setup

**1. Register an OAuth application in ServiceNow**

Follow [ServiceNow's OAuth setup guide](https://docs.servicenow.com/bundle/xanadu-platform-security/page/administer/security/task/t_CreateEndpointforExternalClients.html) to register an OAuth API endpoint for external clients. Fill in the name and redirect URL provided by Langdock, then save. Note the **Client ID** and **Client Secret**.

**2. Open Plugins**

Open [Plugins](https://app.langdock.com/plugins) and find **ServiceNow**.

**3. Enter your instance details**

Enter the Client ID and Client Secret for your OAuth app. Members enter the ServiceNow instance URL when they connect, for example `https://acme.service-now.com`, unless you set a default under [OAuth connection details](https://docs.langdock.com/en/admin/manage-integrations/bring-your-own-oauth.md#additional-parameters).

**4. Authorize via OAuth**

Click **Install** to complete the OAuth flow and authorize Langdock to access your ServiceNow instance.

**5. Start using ServiceNow in Langdock**

Tag the integration with `@` in any agent to start working with your ServiceNow data.

## Common Use Cases

> [card] Incident Management
>
> Create, update, and retrieve incidents; add comments and work notes

> [card] Task Tracking
>
> Find and manage tasks and service catalog items across your instance

> [card] Configuration Management
>
> Search and browse configuration items and their dependencies in the CMDB

> [card] User & Group Lookup
>
> Find users and groups to assign incidents or retrieve contact information

## Troubleshooting

| Issue | Solution |
| - | - |
| **OAuth app not found** | Verify the OAuth application is correctly registered in System OAuth → Application Registry |
| **Authorization failed** | Check the Client ID and Secret match the values in your ServiceNow OAuth app |
| **Instance not reachable** | Confirm your ServiceNow instance URL format: `https://[instance].service-now.com` |
| **Permission denied** | Ensure the authenticated user has the required roles (e.g. `itil` for incident management) |


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