
# Define Objects and Fields

Objects and fields are set up under **Master Data** in the sidebar. For what they are, see [Objects and Fields](/docs/concepts/objects-and-fields).

## Objects

The **Master Data** page lists your organization's objects, A to Z.

| To | Do this |
|---|---|
| Create an object | Click **Create Object**, enter a **Label** and a **Slug**. The slug takes lowercase letters, numbers and underscores (for example `purchase_order`) and must be unique in your organization |
| Rename an object | Edit it and change the **Label**. The slug stays the same |
| Delete an object | Click **Delete** on its row and confirm |

> **Deleting an object deletes its records:** Deleting an object also deletes all of its fields, records and their history. It can't be undone. To stop using a single field, retire it instead.

## Fields

Open an object and go to the **Fields** tab.

| To | Do this |
|---|---|
| Add a field | Click **Add Field**, enter a **Label** and a **Key** (lowercase letters, numbers and underscores, starting with a letter), and choose the **Type**, **Required** and **Identity** settings |
| Edit a field | Click **Edit** on its row. You can change the label, type, required and identity settings. The key stays the same |
| Retire a field | Click **Retire** on its row. The field stops showing on records; its past values and history are kept |

### Choosing the identity field

Mark as **Identity** the field whose value is the same for one real-world entity in every app: GSTIN or PAN for an Indian vendor, a registration number, or a verified email. Records from connected apps are matched on it, so a field that can be blank or differ between systems makes a poor identity field.

## Related

- [Quick Start](/docs/guide/quick-start)
- [Edit Records and Read History](/docs/guide/records-and-history)
