# treg

> Let Marketing find a data tool for a job in treg's catalog and call it with your own treg token. Every call that uses your treg balance waits for your Approve.

treg is a catalog of data tools paid per call. It covers search results and SEO, backlinks, social profiles and trends, ad libraries and web pages, from many providers, without a separate account for each one. Once you connect it with your own treg token, Marketing can find the tool a job needs, tell you what treg charges for a call, and bring the data into its plans and reports.

## Which assistants use it

- [Marketing](/docs/personas/marketing)

## What assistants can do

treg connects through its own hosted connector, on your own token.

| Ability | How it runs |
| --- | --- |
| Search treg's catalog for a tool that does a job | Reads on its own |
| Read a tool's parameters and what treg charges for a call | Reads on its own |
| Read your treg balance and your team's own tools | Reads on its own |
| Call a catalog tool, paid from your treg balance | Waits for your Approve |
| Call one of your team's own tools in treg | Never run from chat |
| Send feedback or a review to treg | Never run from chat |

Calling a tool is offered to Marketing when it works on a task you gave it on stellarfirm.ai. The Approve names the tool, shows everything the call sends, and says that treg bills the call to your treg balance.

## Setup

1. In treg, make a token for StellarFirm alone. A team admin runs `treg org agent-new stellarfirm --role viewer --cap 200` in a terminal. The cap is the most calls a day; pick the number you are comfortable with.
2. Open [Integrations](https://stellarfirm.ai/app/integrations) in StellarFirm and pick treg.
3. Paste the token, switch on the live option, and press Connect.

## Permissions

- Searching the catalog and reading what a call would charge are free and only read, so they do not wait for an Approve.
- Every call uses your own treg balance. That is your money, so each call waits for your Approve, every time. There is no switch that runs calls on their own.
- treg bills your treg team. Calls are not StellarFirm credits.
- Revoke the token in treg whenever you want to cut access. It does not touch your own treg sign-in.

## Good to know

- Marketing tells you what treg charges for a call before it asks for your Approve.
- Every figure comes from a treg result, with the provider and the date. Marketing never invents a number.
- Marketing uses the tools you already connected first, and treg for what they do not give.
- It is for public marketing data. Marketing does not use it to look up a private person's contact details, and it makes pictures and videos with StellarFirm's own tools.
- Your token stays with your account. StellarFirm does not provide one for you.

## Prompts to try

```prompt title="Check backlinks"
Marketing, find the treg catalog tool that lists backlinks for a domain, tell me what treg charges for one call, and after my Approve pull the top 20 backlinks for [your domain] with the date of the data.
```

```prompt title="See who ranks"
Marketing, use treg to get the first page of search results for "[search term]" in [country]. Tell me what treg charges first, then list who ranks, with each page's address.
```

```prompt title="Look at a competitor's ads"
Marketing, search treg's catalog for a tool that reads a brand's running ads, show me what treg charges for it, and after my Approve summarise what [competitor] is advertising this month.
```

---

Source: https://stellarfirm.ai/docs/integrations/treg
