To add a viewport in Revit, go to the View tab and click on Sheet Composition. Then, select the sheet where you want to place the viewport and click on Place View. Choose the desired view from the list, and it will be added as a viewport on the sheet.