# Seed Data

If you want to seed data into the CMS on start up then just create a class that implements&#x20;

```csharp
public interface ISeedData
{
    void Initialise(ZauberDbContext dbContext);
}
```

The dbContext used in the startup is passed in allowing you to create, update or delete whatever you want. As this class is loaded through the extension manager, you can also inject any other services you may need into your class


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aptitude.gitbook.io/zaubercms/extending-zaubercms/seed-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
