Skip to main content
If you can’t obtain credentials from logs of service-security as described in the Cognigy installation process article, for example, because service-security service was restarted several times, or you’ve deleted and recreated the Cognigy installation, you need to drop service-security database to generate new initial credentials.
All organizations and users will be lost as a result of this operation. Perform this process only during initial Cognigy setup.To generate new initial user credentials, run the following commands:
  1. Drop the collections in service-security database by connecting to the primary node of MongoDB. To determine the primary node, execute rs.status():
  1. Connect to the primary node (for example, mongodb-0) and drop the collections in service-security database:
  1. Restart the service-security deployment:
  1. Obtain the newly generated initial credentials from the logs of service-security deployment as usual:
Last modified on November 11, 2026