Hi @MHussain8
You can create templates through the CLI, you can read more about this here: HubSpot CLI commands overview - HubSpot docs
Here you will be able to upload a template file you’ve created maybe on Visual Studio Code Editor using the following command:
hs upload --account=<name> <src> <dest>
Otherwise, you can create templates directly through the UI, you can read about creating templates directly in the design manager here: https://developers.hubspot.com/docs/cms/developer-reference/design-manager