> For the complete documentation index, see [llms.txt](https://espergames.gitbook.io/skill-web/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://espergames.gitbook.io/skill-web/scripting/initialization.md). Agents can also search and read this documentation through its [MCP server](https://espergames.gitbook.io/skill-web/~gitbook/mcp).

# Initialization

How to initialize Skill Web.

## Initialize

The Initialize method establishes a database connection with Skill Web. This may be necessary for getting skills and webs at runtime.

```csharp
SkillWeb.Initialize();
```

## Terminate

Use Terminate to end the database connection. It's recommended to call this when Skill Web is no longer needed (i.e. user exits the game or returns to the main menu).

```csharp
SkillWeb.Terminate();
```
