# Collections.Create

```go
func (collectionClient) Create(
    ctx context.Context,
    datasetID uuid.UUID,
    collectionName string,
) (*datasets.Collection, error)
```

Create a collection in the dataset.

## Parameters

**datasetID**

`uuid.UUID`

The id of the dataset

**collectionName**

`string`

The name of the collection

## Returns

The created collection object.

```go title="Go"
collection, err := client.Collections.Create(ctx,
    datasetID,
    "My-collection",
)
```
