---
title: "Pages client"
slug: "pages-client"
abstract: ""
---
# Pages client

The SDK provides a **Pages client** to retrieve pages by:

- Identifier
- Name
- ID

> [!note]
> In the following code example, the `client` variable refers to the `ContentHubClient` instance. When using the JavaScript SDK, you can choose your own variable name, but it is called `client` at instantiation in the documentation.

## Get a page by ID

For example, the following snippet gets the `Actions` page by ID:

```javascript
const page = await client.pages.getPageByIdAsync(6804);

```