# Create your first Metadata components

> Status: Beta

> Define an equipment request object and list view as code, add them to a sandbox with the Rippling CLI, and find them in the Rippling UI.

Create an equipment request custom object with **Item** and **Status** fields and a list view that shows both. Define them in a Rippling project, add them to a sandbox with the Rippling CLI, and find them in the Rippling UI.

* * *

## Requirements

-   Get access to the [Developer Program](https://developer.rippling.com/documentation/rippling-platform/developer-program/apply) closed beta.
-   Install the latest beta [Rippling CLI](https://developer.rippling.com/documentation/rippling-platform/rippling-cli/get-started) and sign in.
-   Install Node.js LTS and pnpm.
-   Choose a development sandbox. [Set up a sandbox](https://developer.rippling.com/documentation/rippling-platform/developer-program/sandboxes) if you don't have one, then find its [CLI context](https://developer.rippling.com/documentation/rippling-platform/rippling-cli/accounts-and-contexts) with `rippling config context list`. The commands below use `sandbox-dev` as the context name. Replace it with yours.

* * *

## Define the components

Create a project with a starter custom object:

```bash
rippling project init --name equipment-requests-demo --with custom-object:equipment-request
cd equipment-requests-demo
```

The CLI creates a custom object and list view in `custom-objects/equipment-request.ts` and lists both in the manifest:

rippling.manifest.ts

```ts
import { defineManifest } from '@rippling/rippling-sdk';
import { EquipmentRequest, EquipmentRequestListView } from './custom-objects/equipment-request';
// rippling:imports

export default defineManifest({
  components: [
    EquipmentRequest,
    EquipmentRequestListView,
// rippling:components
  ],
});
```

Edit `custom-objects/equipment-request.ts` to add the **Item** and **Status** fields and show them in the list view:

custom-objects/equipment-request.ts

```ts
import { defineCustomObject, defineListView, fields } from '@rippling/rippling-sdk';

export const EquipmentRequest = defineCustomObject({
  apiName: 'equipment_request__c',
  name: 'Equipment Request',
  pluralLabel: 'Equipment Requests',
  description: 'A record of equipment requested by an employee.',
  fields: {
    item__c: fields.text({ label: 'Item', description: 'Equipment being requested.' }),
    status__c: fields.text({ label: 'Status', description: 'Current status of the request.' }),
  },
});

export const EquipmentRequestListView = defineListView(EquipmentRequest, {
  apiName: 'equipment_request_all__c',
  name: 'All equipment requests',
  description: 'Equipment requests and their current status.',
  fields: [EquipmentRequest.fields.item__c, EquipmentRequest.fields.status__c],
  isPublic: true,
});
```

`defineListView` selects which of the object's fields appear as columns. Keep the export names, `EquipmentRequest` and `EquipmentRequestListView`, so that `rippling.manifest.ts` continues to work. API names for custom objects and custom fields end in `__c`.

* * *

## Validate and deploy to the sandbox

From `equipment-requests-demo`, preview the changes:

```bash
rippling --context sandbox-dev project validate
```

In a new sandbox, the plan adds the object, its fields, and the list view. If the plan shows other changes or removals, check the CLI context and the API names.

Then deploy:

```bash
rippling --context sandbox-dev project deploy
```

Review the plan at the confirmation prompt, then confirm.

* * *

## Verify the components in the sandbox

In the Rippling UI, sign in to your Developer account. Navigate to **Developer > Developer Sandbox** and click **Log in** next to your sandbox. Then find the **Equipment Request** object and the **All equipment requests** list view.

* * *

## Next steps

-   [Package and publish your components](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/package-and-publish) so that other companies can install them.
-   [Pull components into your project](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/pull-changes) when you build or change a component in the Rippling UI.

* * *

## See also

-   [Get started with Metadata](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/get-started)
-   [CLI project commands](https://developer.rippling.com/documentation/rippling-platform/rippling-cli/projects-metadata)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/build-and-deploy

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
