A Veeam Endpoint or Agent can backup to a Veeam Backup Repository as long as the Backup Repository Agent Permissions allow access. These permissions can be configured by going to;
Backup Infrastructure
Backup Repositories
Right click on desired Backup Repository and select Agent Permissions