Yext CLI

The Yext CLI provides a new way for developers to manage account configurations directly from their local machines. Without needing to log in to the platform, the Yext CLI allows you to manage project-wide configuration as code. Now you can clone accounts, create account templates, manage sub-accounts, and replicate Answers configurations in multiple accounts.

Update Your Configuration Resources

Most configuration in your account can be represented in JSON schema. To save time previously spent in-platform, now you can update JSON schema files through in-platform code editors or the Yext CLI. Resources you can edit in JSON include entities, fields, and filters, which help you manage your data in the Knowledge Graph. You can also customize your Answers and Pages experiences, by managing search and site configurations, saved queries, domains, modules, and page templates. To see a full list of Resources visit our developer documentation here.

Clone Configuration into other Accounts

The Yext CLI enables you to download and upload configuration using the pull and apply commands. Now you can apply best practices to your sub-accounts at scale, clone accounts to a sandbox environment for testing, and save a version of your account configuration as backup when making big changes. Learn how to clone account configuration here.

Automate Workflows with Promptless Interaction

The service-users command group is intended to enable promptless interaction with the Yext CLI. These commands can be used to enable programmatic and scripting use cases.

Want to become a Yext Expert?

Join Hitchhikers, the new Yext training platform and community, to test your knowledge, earn badges, and engage with the experts.

Create your free account

One Platform. Unlimited Solutions.

A great search experience is key to a great brand experience — on and off your website. Answer customers' questions and convert more business across digital channels with AI\-powered marketing solutions from Yext.

Explore Marketing Answers

Answer support questions before they become support tickets. Streamline the resolution process with Yext's modern, AI\-powered customer support solutions.

Explore Support Answers

Create an intuitive ecommerce search and discovery experience so you can meet your customers with direct answers every step of the way. Streamline the digital customer journey and turn your website into a conversion engine with AI\-powered ecommerce solutions from Yext.

Explore Ecommerce Answers

Employees need company information to do their jobs. Make it easy, fast, and fun to find with AI\-powered workplace search solutions from Yext.

Explore Workplace Answers

Build on the Yext platform for a fully custom AI search experience — fast. With SDKs, APIs, and robust documentation, the Yext Answers platform provides the building blocks to create a bespoke search experience.

Explore Developer Answers