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

# Claude Login Start

> Kick off a guided claude /login flow on the box.

Box-agent forks `claude /login` as a pty subprocess, drives the
OAuth picker, and ships the URL back over WS. The FE polls
GET /me/claude-login/state and shows the URL as a tappable link
+ a paste box for the OAuth callback code.

Calling this again kills any in-flight attempt and starts fresh.
The user can also bail via POST /me/claude-login/cancel.



## OpenAPI

````yaml /cloud/openapi/v3.json post /boxes/me/claude-login/start
openapi: 3.1.0
info:
  title: Browser Use Public API v3
  summary: Browser Use session-based agent API (v3)
  version: 3.0.0
servers:
  - url: https://api.browser-use.com/api/v3
    description: Production server
security: []
paths:
  /boxes/me/claude-login/start:
    post:
      tags:
        - Boxes
      summary: Claude Login Start
      description: |-
        Kick off a guided claude /login flow on the box.

        Box-agent forks `claude /login` as a pty subprocess, drives the
        OAuth picker, and ships the URL back over WS. The FE polls
        GET /me/claude-login/state and shows the URL as a tappable link
        + a paste box for the OAuth callback code.

        Calling this again kills any in-flight attempt and starts fresh.
        The user can also bail via POST /me/claude-login/cancel.
      operationId: claude_login_start_boxes_me_claude_login_start_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Browser-Use-API-Key

````