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

# Connectivity

> API reference for Cloudflare Connectivity services

## Overview

The Connectivity API provides tools for managing network connectivity and directory services.

## Initialize the client

```typescript theme={null}
import Cloudflare from 'cloudflare';

const client = new Cloudflare({
  apiToken: 'your-api-token',
});
```

## Directory

Manage connectivity directory services.

```typescript theme={null}
const directory = client.connectivity.directory;
```

The directory resource provides methods for managing connectivity configurations and directory services for network routing and resolution.

### Usage

Access directory-related functionality through the connectivity client:

```typescript theme={null}
// Access directory services
const directoryService = client.connectivity.directory;
```

## Use cases

The Connectivity API is useful for:

* Managing network directory services
* Configuring connectivity settings
* Maintaining network topology information
* Coordinating routing and resolution services
