How to use a .htpasswd entry
Each line contains a username, a colon, and a password hash. Add the generated line to your password file; replace an existing line for the same username instead of creating duplicates. Configure your web server separately to use that file. Keep the file outside the publicly served directory.