{#if enabled}
1. Go to your Nextcloud instance as an administrator
2. Navigate to Administration settings → Security → OAuth 2.0 clients
3. Click "Add client" to create a new OAuth2 application
4. Set the redirect URI to your Windmill instance's {baseUrl || 'BASE_URL'}/user/login_callback/nextcloud
5. Copy the Client ID and Client Secret to the fields above
{/if}