You need to get this data in the Keys and Endpoint section on your project page. The endpoint address is located in the endpoint column, and the secret key can be copied from the Key 1 and Key 2 fields:
Instructions for creating a project in Azure can be found in the official Microsoft documentation:
Form recognizer:
https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/create-document-intelligence-resource?view=doc-intel-3.1.0
Computer vision:
https://azure.microsoft.com/en-gb/products/cognitive-services/computer-vision