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

# Research a target account with Claude Code

> A step-by-step tutorial for using the Landbase Claude Code plugin to run a multi-turn account research session from inside your editor.

# Research a target account with Claude Code

In this tutorial you will use the Landbase Claude Code plugin to research a target account in multiple steps — finding the company, finding relevant contacts, enriching them with email and phone data, and saving the results. By the end you will have experienced a full prospecting loop driven by natural language inside your editor.

**What you will need:**

* landbase-cli installed and authenticated
* Claude Code installed
* The Landbase Claude Code plugin set up (run `landbase-cli config permissions --yes` to configure it)

***

## 1. Open Claude Code and run the Landbase setup command

In your terminal, run:

```bash theme={null}
claude
```

Then inside Claude Code, type:

```
/landbase-cli:setup
```

This slash command verifies your landbase-cli installation and authentication, and confirms the plugin is ready.

You will see output like:

```
✓ landbase-cli v0.14.0 found
✓ Authenticated as austin@example.com
✓ Platform mode active
```

***

## 2. Find your target company

Ask Claude:

```
Find Acme Corp in Landbase and give me a company overview.
```

Claude will call:

```bash theme={null}
landbase-cli match company --name="Acme Corp"
```

And return structured data including the company's website, industry, employee count, and headquarters. Note the company domain from the result — you will use it in the next step.

***

## 3. Find decision-makers at that company

Now ask:

```
Find VP-level and above contacts at acme.com in sales, marketing, or revenue roles.
```

Claude will run:

```bash theme={null}
landbase-cli "VP or above at acme.com in sales, marketing, or revenue" --session=acme-research --download=acme-contacts.jsonl
```

Using a named session (`acme-research`) means all follow-up prompts in this conversation will continue the same research thread.

***

## 4. Narrow the list

Ask a follow-up:

```
Only show the ones based in the US.
```

Because the session is active, Claude sends:

```bash theme={null}
landbase-cli "only US-based" --session=acme-research --download=acme-contacts-us.jsonl
```

This continues from the previous results rather than starting over.

***

## 5. Enrich with email and phone

Ask:

```
Enrich these contacts with emails and phone numbers.
```

Claude will call:

```bash theme={null}
landbase-cli contact-enrich submit ./acme-contacts-us.jsonl --enrich-phone --wait
```

Results are saved to a new file. This step may take a minute or two for the enrichment batch to complete.

***

## 6. Review and export

Ask:

```
Show me the final enriched list as a CSV.
```

Claude will publish and download the dataset:

```bash theme={null}
landbase-cli "acme research final results" --session=acme-research --download=acme-final.csv
```

Open `acme-final.csv` to see your completed prospect list with names, titles, emails, and phone numbers.

***

## What you learned

* The `/landbase-cli:setup` command verifies your environment inside Claude Code
* Named sessions let you refine searches iteratively without losing context
* Claude can chain multiple CLI commands naturally in response to plain-English instructions
* The full prospecting loop (find company → find contacts → narrow → enrich → export) runs entirely from your editor

**Next step:** See [Use sessions to continue research across runs](/docs/how-to/use-sessions) for a deeper look at how session state persists between terminal commands and Claude Code conversations.
