---
title: wpe context set
description: Set the account context for the WP Engine Headless CLI.
url: https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/context/set/
image: https://developers.wpengine.com/og/docs/headless-platform/reference/cli/wpe/context/set.png
---

# wpe context set

## Description

Set the account context for the WP Engine Headless CLI.

## Usage

Terminal window

```bash
$ wpe context set account $ACCOUNT_NAME
```

## Extended Description

The `wpe context set account` command allows you to set the account context that the WP Engine Headless CLI will use to deploy applications.

## Options

```
--help, -h    Help for set
```

## Examples

Terminal window

```bash
$ wpe context set account myaccount
```

The above command will set the current account context that the WP Engine Headless CLI will use to deploy applications to `myaccount`

## Was this helpful?

Thanks for the feedback!

```json
{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://developers.wpengine.com/#website","name":"WP Engine Product Documentation","url":"https://developers.wpengine.com/","description":"Resources for developing, deploying, and scaling on WP Engine.","inLanguage":"en-US","keywords":["API documentation","product documentation","headless WordPress","managed WordPress hosting"],"publisher":{"@id":"https://wpengine.com/#organization"}}]}
```
