@Ihabkhiri1 Please follow the instructions from @OOlashyn . In addition, just an additional tip, to implement the portal templates

Then you can create a community portal.
Hope it helps.
------------
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.
while creating an environment, you need to select "Enable D365 Apps"