# Bring in keywords from a research tool

> Attach a keyword export from a research tool, have an Agent turn it into each language's Keywords field, read the plan, and send the new keywords to App Store Connect.

Source: https://air.build/docs/app-store/bring-keywords-from-a-research-tool/

Keyword research tools can export the keywords you picked as a file. An Agent can turn that file into the **Keywords** field of each language of a version, show you what would change in App Store Connect, and send it when you say so. Only the keywords change; the rest of the store text stays as it is.

> [!NOTE]
> AirBuild has no button for this. You ask an Agent in the Project's chat, and it uses `asc metadata keywords` (under `metadata` in [asc: apps and App Store listing](https://air.build/docs/cli/asc-apps/#metadata)). The keywords go through the same files as [Keep your store page text in files](https://air.build/docs/app-store/keep-your-store-page-in-files/): one per language of the version, in a folder in the project (the `asc` examples call it `metadata`).

## Before you start

- **Pick the keywords first.** The command puts every keyword in the file into that language's field, separated by commas, with repeats dropped. A language whose keywords come to more than 100 characters stops the whole import, and nothing is written. Export only the keywords you chose, or ask the Agent to choose from the list (see below).
- **Know the version.** Keywords belong to a version, so name one you can still edit. See [Prepare your App Store page](https://air.build/docs/app-store/prepare-your-store-page/#fill-in-the-store-page).
- **Know the language.** A file without a language column needs one named in your request, such as English (U.S.) or `en-US`.

## The file

Attach the export to your message (see [Send photos, files and sketches to an Agent](https://air.build/docs/projects/send-photos-and-files/)). The command reads these:

| Format | What's in it |
| --- | --- |
| CSV | A header row. A language column (`locale`, `lang` or `language`), and either a column holding a whole keyword list per row (`keywords`, `keyword field` or `keyword list`) or one keyword per row (`keyword`, `term`, `search term` or `search keyword`). |
| JSON | Languages mapped to their keywords, a list of objects each with a `locale` and its keywords, or a single such object. |
| Text | A plain list, one keyword per line or separated by commas. For one language, which you name. |
| Astro CSV | Astro's keyword export, read from its `Keyword` column. Name the language unless the file has one. |

The command tells the format from the file's ending (`.csv`, `.json` or `.txt`), or you tell the Agent which one it is. Other columns, such as search volume or difficulty, aren't sent to Apple: the command keeps them in a report file in the same folder, so the Agent can still read them.

## Ask an Agent

For example:

```text
Use the attached keywords.csv for the keywords of version 1.4, in English (U.S.) and German. Show me what changes before you send anything.
```

To have the Agent choose from a longer list, say so:

```text
The attached export has 300 keywords for English (U.S.). Pick the ones that fit in 100 characters, leaving out words already in the name and subtitle, and show them to me before you send anything.
```

1. The Agent imports the file with `asc metadata keywords sync`, which writes each language's keywords into the version's files in the project. Languages that aren't in the file are left alone.
2. Without `--confirm`, the same command shows a plan: for each language, the keywords App Store Connect has now and the ones it would get. Nothing is sent yet. If a language isn't on the version yet, the plan adds it and warns which fields it still needs before review.
3. Read the plan in the chat. Ask for changes, or say it's right.
4. The command sends keywords only with `--confirm`, so the Agent asks you first. For a language the version already has, it changes only the keywords. A language the version doesn't have yet is added with everything in that language's file.

The Agent can also take it in steps: `keywords import` writes the files, `keywords plan` (or `keywords diff`) shows the plan, and `keywords apply --confirm` sends it. In steps, the plan covers every language file in the folder, not just the ones in the export.

## Check the result

1. Open **Store Page** in the project's **App Information** tab. See [Prepare your App Store page](https://air.build/docs/app-store/prepare-your-store-page/#open-app-information).
2. Pick the version and the language. **Keywords** shows the new list, with its character count.
3. For a check of every language at once, see [Check your keywords for wasted space](https://air.build/docs/app-store/check-your-keywords/).

To see where your app ranks for its keywords, use the **ASO** tab's **Keywords** section. See [Track sales and App Store search](https://air.build/docs/app-store/track-sales-and-aso/#keywords).

## Start other languages from one

To give other languages the same keywords as a start, ask, for example, "Copy the English (U.S.) keywords of version 1.4 to French and Spanish (Mexico), so I can change them." The Agent uses `asc metadata keywords localize`. Its help says it "does not translate terms": it copies them into the other languages' files so they can be reviewed and refined before they're sent. A language that already has keywords keeps them unless you ask the Agent to replace them. Ask for a translation separately, then have the Agent show the plan and send them with `keywords apply`, as above.

## Questions

**The Agent says the keywords exceed 100 characters.**

The keywords for one language don't fit. Nothing was written for any language. Take some out, or ask the Agent to pick the ones that fit, then try again.

**The Agent says the CSV needs a keywords or keyword column.**

The command didn't find a column it knows. Rename the column with your keywords to `keywords` (a whole list in each row) or `keyword` (one per row), or tell the Agent which tool the file came from.

**The Agent says a row is missing a locale, or a locale is needed for text input.**

The file doesn't say which language the keywords are for. Name the language in your request.

**The Agent says a locale is ambiguous.**

A language name such as "English" fits more than one App Store language. Name the one you mean, such as English (U.K.) or `en-GB`.

**The Agent says it couldn't tell the file's format.**

The file's ending isn't `.csv`, `.json` or `.txt`. Tell the Agent what kind of file it is.

**I found keywords with Ari. How do I use them here?**

Ask Ari for the list in a chat it's in, then ask the Agent in the Project's chat to use that list as above. See [Research keywords with an Agent](https://air.build/docs/connect/research-keywords-with-an-agent/).
