Configuring HotDocs Web Services
You must configure HotDocs Web Services with the appropriate settings to authorize API requests to HotDocs Hub.
Note: You only need to follow the configuration steps below if you are:
- Integrating your own application with an installation of either:
- And using the RetrieveFromHub feature of HotDocs Web Services
In this Topic Hide
Prerequisites
- Install HotDocs Server and Web Services
- Configure HotDocs Hub to use HotDocs Web Services
- You should be able to log in to HotDocs Hub
To configure HotDocs Web Services for integrations
Edit the HotDocs Web Services web.config file
- Navigate to the HotDocs Web Services installation directory; by default, this is C:\Program Files (x86)\HotDocs Server\HDSWebAPI.
- Open the web.config file in a text editor.
- Edit the following key's values, replacing the placeholder values with the values copied to your own text file:
- ClientScope – to find and set your client scope:
- Open the HotDocs Hub UI.
- Click the Config button (top-right corner) to download the Upload Plugin Configuration (.hdrepoconfig) file.
- Navigate to the location of the downloaded .hdrepoconfig file.
- Edit the .hdrepoconfig file in a text editor; the last line in the file is the client scope used to connect to Hub, typically UploadPlugin.
- Navigate to the HotDocs Web Services installation directory; by default, this is C:\Program Files (x86)\HotDocs Server\HDSWebAPI.
- Open the web.config file in a text editor.
- Check that the last line in the .hdrepoconfig file matches the ClientScope value used in your HotDocs Web Services web.config file.
- If the client scope does not match, change the Web Services ClientScope value to the value from the .hdrepoconfig file.
- Save your changes.
- EnableOAuth2Security – set to true
- UserServiceBaseUrl – set to https://{servername}/HotDocsIdentityServer/core/, where servername is the name of the server on which Hub is installed.
- Save your changes to the web.config file
HotDocs Web Services is now configured to connect to HotDocs Hub.
Next Steps
- Install HotDocs Developer for template users