{{ __('CMD K') }}
@if (session('success'))
{{ session('success') }}
@endif @if (isset($errors) && $errors->any())
{{ $errors->first() }}
@endif
@csrf
{{ __('Admin · Project settings') }}

{{ __('Trello') }} {{ __('settings') }}.

{{ __("Trello doesn't need any central app credentials — each workspace generates its own API key + token and picks a board. Your job here is just to flip the platform-level switch and (optionally) review usage. When a card is assigned or changes, the right person gets a WhatsApp message.") }}

{{ __('All settings') }}
{{-- Feature toggle --}}
{{ __('trello · platform toggle') }}

{{ __('Enable Trello') }}

{{ __('When enabled, workspace owners see the') }} {{ __('Connect now') }} {{ __('button on the') }} {{ __('Integrations') }} {{ __('page and can paste their API key, OAuth secret, token and board at') }} /trello. {{ __('Each connection is workspace-scoped — the secret + token are encrypted at rest, and we register a Trello webhook on their board automatically.') }}
{{-- Step-by-step guide --}}
{{ __('walkthrough you can share with customers') }}

{{ __('How a workspace connects Trello') }}

{{ __('Every workspace generates its own Trello key + token — five steps. We never see anything until they paste the values at') }} /trello.

    @php $steps = [ ['Open the Power-Ups admin', 'Go to trello.com/power-ups/admin and create a Power-Up (a placeholder is fine — nothing needs to be published). This is just where Trello keeps your API key.'], ['Generate the API key + secret', 'Open the Power-Up → API Key tab → Generate a new API Key. Copy the API key and the OAuth secret (the secret verifies incoming webhooks).'], ['Authorize a token', 'Open https://trello.com/1/authorize?expiration=never&scope=read&response_type=token&name='.brand_name().'&key=YOUR_KEY → Approve → copy the token. Use expiration=never so the webhook doesn\'t die.'], ['Pick the board', 'Copy the board ID or just the board URL of the board to watch (e.g. trello.com/b/AbCdEfGh/my-board).'], ['Paste at /trello', 'In '.brand_name().', open /trello and paste API key + secret + token + board, then Connect. We register the webhook on the board automatically.'], ]; @endphp @foreach ($steps as $i => $s)
  1. {{ $i + 1 }}
    {{ __($s[0]) }}

    {!! __($s[1]) !!}

  2. @endforeach
{{-- Usage --}}
{{ __('usage') }}

{{ __('Live across workspaces') }}

{{ __('Boards connected') }}
{{ number_format($integrationsCount) }}
{{ __('Active') }}
{{ number_format($activeCount) }}
{{ __('Events handled') }}
{{ number_format($logsCount) }}