---
title: What is the default login for self-hosted Langfuse?
seoTitle: "Default Login and First Admin for Self-hosted Langfuse"
description: Self-hosted Langfuse has no default username or password. Sign up to create the first user, or create a user, organization, project, and API keys on startup with headless initialization.
tags: [self-hosting, auth]
---

# What is the default login for self-hosted Langfuse?

There is no default username or password. After you start a new instance, open the UI (for example `http://localhost:3000`) and click **Sign up** to create the first user. The user who creates an organization becomes its `Owner`.

To create a user, organization, project, and API keys automatically on startup, use [headless initialization](/self-hosting/administration/headless-initialization) with the `LANGFUSE_INIT_*` environment variables, for example `LANGFUSE_INIT_ORG_ID`, `LANGFUSE_INIT_PROJECT_ID`, `LANGFUSE_INIT_PROJECT_PUBLIC_KEY`, `LANGFUSE_INIT_PROJECT_SECRET_KEY`, `LANGFUSE_INIT_USER_EMAIL`, and `LANGFUSE_INIT_USER_PASSWORD`. The initial user is created only when both `LANGFUSE_INIT_USER_EMAIL` and `LANGFUSE_INIT_USER_PASSWORD` are set, and it becomes `Owner` of the initial organization. Initialization does not change the password of a user that already exists.

To control who can access the instance afterwards:

- Disable open sign-up with `AUTH_DISABLE_SIGNUP=true` ([hardening](/self-hosting/configuration/hardening#disable-signup)). This also blocks invited users who do not have an account yet.
- Restrict who can create organizations with [`LANGFUSE_ALLOWED_ORGANIZATION_CREATORS`](/self-hosting/administration/organization-creators).
- Add new users to an existing organization automatically with `LANGFUSE_DEFAULT_ORG_ID` and `LANGFUSE_DEFAULT_ORG_ROLE`.

If you forgot the password of an existing user, see [I forgot my password](/faq/all/forgot-password).

<!-- agent-instructions -->

---

## Agent Instructions

This page is part of the [Langfuse](https://langfuse.com) documentation, published as plain Markdown for AI agents. Every page is available as Markdown by appending `.md` to its URL, or by sending an `Accept: text/markdown` header. This page: `https://langfuse.com/faq/all/self-hosting-default-login.md`.

### Querying these docs

If the answer is not on this page, query the documentation instead of guessing:

- **Semantic search** across all Langfuse docs, returning an answer with the relevant pages and excerpts. Ask a specific, self-contained question:

  ```bash
  curl -sG "https://langfuse.com/api/search-docs" --data-urlencode "query=How do I trace a LangGraph agent?"
  ```

- **Index of every page**: <https://langfuse.com/llms.txt>, with per-section indexes [llms-docs.txt](https://langfuse.com/llms-docs.txt), [llms-integrations.txt](https://langfuse.com/llms-integrations.txt), and [llms-self-hosting.txt](https://langfuse.com/llms-self-hosting.txt).

### Before writing Langfuse code

- **Install the [Langfuse Agent Skill](https://langfuse.com/docs/api-and-data-platform/features/agent-skill).** It encodes Langfuse's own best practices for instrumentation, prompt management, and evaluation, and materially improves results.
- **Read [What does a good trace look like?](https://langfuse.com/docs/observability/best-practices.md)** before instrumenting an application.
- **Verify endpoints, parameters, and response fields** against the [API reference](https://api.reference.langfuse.com) instead of inferring them from code examples.
- **Use the [Langfuse CLI](https://langfuse.com/docs/api-and-data-platform/features/cli)** (`npx @langfuse/cli api <resource> <action>`) to read or write traces, prompts, datasets, and scores from the terminal.

Found an error in these docs? Please open an issue at <https://github.com/langfuse/langfuse-docs/issues>.
