> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bytejmp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Usage

> BloodHound Community Edition web interface access, container management, and credential reset.

## Accessing the Interface

```bash theme={"dark"}
http://localhost:8080/ui/login
```

***

## Container Management

Start BloodHound CE.

```bash theme={"dark"}
docker compose up -d
```

Stop BloodHound CE.

```bash theme={"dark"}
docker compose down
```

View running containers.

```bash theme={"dark"}
docker compose ps
```

View logs.

```bash theme={"dark"}
docker compose logs -f
```

View logs for a specific service.

```bash theme={"dark"}
docker compose logs -f bloodhound
```

***

## Initial Credentials

Get the randomly generated admin password from logs.

```bash theme={"dark"}
docker compose logs | grep "Initial Password Set To:"
```

***

## Reset Admin Password

`bloodhound-cli` is a standalone **host** binary (it drives Docker Compose from outside the containers), and the subcommand is `resetpwd`:

```bash theme={"dark"}
./bloodhound-cli resetpwd
```

***

## Importing Data

Upload zip file via API.

```bash theme={"dark"}
curl -X POST http://localhost:8080/api/v2/file-upload/start \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json"
```

```bash theme={"dark"}
curl -X POST http://localhost:8080/api/v2/file-upload/<job-id> \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/zip" \
  --data-binary @BloodHound.zip
```

```bash theme={"dark"}
curl -X POST http://localhost:8080/api/v2/file-upload/<job-id>/end \
  -H "Authorization: Bearer <token>"
```

***

## API Authentication

Get a Bearer token.

```bash theme={"dark"}
curl -X POST http://localhost:8080/api/v2/login \
  -H "Content-Type: application/json" \
  -d '{"login_method":"secret","secret":"<password>","username":"admin"}'
```

***

## References

* [BloodHound CE — Getting Started](https://support.bloodhoundenterprise.io/hc/en-us/articles/17468450058267-Install-BloodHound-Community-Edition-with-Docker-Compose)
* [BloodHound CE — API Documentation](https://support.bloodhoundenterprise.io/hc/en-us/articles/17309369466267)
* [SpecterOps BloodHound — GitHub](https://github.com/SpecterOps/BloodHound)
