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

# Tags

> Add custom tags to locations for flexible grouping

Tags let you add custom labels to locations. Use them in constraints and routing rules to target specific groups of locations.

## How tags work

Tags are free-form labels you create based on your business needs. Unlike types (which are predefined), tags are completely flexible.

**Example tags:**

* Geographic: `east-coast`, `west-coast`, `paris-region`, `uk`
* Capabilities: `heavy-items`, `fragile`, `hazmat`, `engraving`
* Business: `flagship`, `franchise`, `b2b`, `outlet`
* Operations: `high-volume`, `express`, `overflow`

## How to add tags

<Steps>
  <Step title="Go to Locations">
    Navigate to **Charlie → Locations** and select a location.
  </Step>

  <Step title="Find the Tags section">
    Scroll to the **Tags** card.

    <Frame>
      <img src="https://mintcdn.com/charlie-6278c0d1/zIZXpEfAUH7cQkz5/images/location-tags.png?fit=max&auto=format&n=zIZXpEfAUH7cQkz5&q=85&s=71cc8875b2438a70e61c17ab684457a9" alt="Location tags" width="722" height="316" data-path="images/location-tags.png" />
    </Frame>
  </Step>

  <Step title="Add tags">
    Type a tag name and press Enter. Repeat for each tag you want to add.
  </Step>

  <Step title="Remove tags">
    Click the **×** next to a tag to remove it.
  </Step>
</Steps>

## Using tags in rules

Once added, you can target locations by tag in your constraints and routing rules.

**Example filters:**

* `Location tag` → `flagship` — rule applies only to flagship locations
* `Location tag` → `east-coast` — rule applies only to east coast locations

<Tip>
  A location can have multiple tags. Rules will match if the location has the specified tag.
</Tip>

## Tag strategy tips

<CardGroup cols={2}>
  <Card title="Keep it simple" icon="minimize">
    Start with a few tags and add more as needed. Too many tags become hard to manage.
  </Card>

  <Card title="Be consistent" icon="check">
    Use a naming convention (lowercase, hyphens) so tags are easy to find and use.
  </Card>

  <Card title="Document your tags" icon="file-lines">
    Keep a list of your tags and what they mean so your team stays aligned.
  </Card>

  <Card title="Combine with types" icon="layer-group">
    Use types for broad categories (Warehouse, Store) and tags for specifics (region, capabilities).
  </Card>
</CardGroup>

## Related

<CardGroup cols={2}>
  <Card title="Types" icon="building" href="/locations/types">
    Classify locations as Warehouse or Store
  </Card>

  <Card title="Routing Rules" icon="route" href="/order-routing/overview">
    Use tags in order routing rules
  </Card>
</CardGroup>
