Hi Evgenii, welcome to the community forums!
Assuming you followed the docs precisely, your mongodb instance will accessible from your machine using this connection string: mongodb://localhost:27017/?directConnection=true
Check the Compass Documentation for specific step by step instructions.
Let us know how you make out.
Regards,
Mike