Once the Docbox File Agent (DFA) has been installed, it needs to be configured before it can send anything to Docbox.
This article walks through the quickest way to get DFA running, using the most common setup: a Docbox printer destination and a local folder source. If you need a different setup, such as sending to a local folder or monitoring a remote folder over SFTP, each section links to the full reference article.
There are three steps, and they must be done in this order:
- Create and add Docbox Token
- Create a Destination
- Create a Source
You can now send output to Docbox using DFA
Docbox Token
A token is used to allow DFA to access Docbox printers. This token is created by a Docbox user via the Docbox Dashboard. DFA will then be able to use all the printers that the user has access to.
The token gives DFA access to every printer the account that created it can use. Rather than generating the token against an individual user's account, we recommend creating a dedicated service account in Docbox for this purpose. That way, DFA's access doesn't depend on one person's account remaining active, and printer access can be managed independently of any individual's role changes or departure.
- Log into the Docbox Dashboard application (not the Docbox print driver), and navigate to the User Tokens screen (My Docbox > User Tokens).
- Click “Add New User Token”
- Enter a Token Name and select FileAgent from the Client dropdown.
- Click Generate Token.
- Click Copy Token.The token value is only shown once, so copy it now - you'll need it in step 8.
- Log in to DFA as an admin user and navigate to Control Panel > Tokens.
- Click New Token.
- Enter a Name, paste in the Docbox URL (usually
https://{your-docbox-domain}/api/v1), and paste the token value. - Click Save
DFA will now be able to use all the printers that the user who created the token has access to.
See Tokens for the full field reference, how to check which printers a token can reach, and how to replace or delete a token.
Destination
The destination is where DFA is going to send the output. This is typically a Docbox printer.
DFA doesn't connect to Docbox printers directly - it connects via the token you've just added. When you create the destination below, the Printer dropdown lists every printer reachable through that token, shown as Token Name : Printer Name.
- Within File Agent, navigate to the Destinations screen. (Control Panel > Destinations)
- Click New Destination
- Enter a name.
- Select Docbox as the destination type.
- Select the printer from the dropdown.
- Click Save.
See Destination Details for more information or if you want to use a local folder.
Source
A source is the folder DFA monitors for files to send to Docbox. A source can't be created until its destination exists, since every source must point to one - that's why the order matters here.
Sources are typically local folders. See Source Details for more information.
- Within Docbox File Agent, navigate to the Sources window. (Control Panel > Sources)
- Click New Source
- Enter a name.
- Set the type to Local Folder.
- Enter the path to the folder to be monitored.
- Set the destination to the one you created above.
- Choose a sent action
- Archive – keeps copies of sent files in archive folder within the source folder
- Delete – deletes the files once sent
- Set the failure threshold – once reached, the pipeline stalls and no further files are processed until investigated
- Set the poll interval (minimum 15 seconds)
- Tick Archive Failures if you want failed files archived rather than left in place
- Tick Reject duplicates? if you want to reject files with content matching a previously sent file
- Tick Active? to enable the source
- Click Save.
Docbox File Agent is now configured and output deposited in the source folders will be sent to the destination printer in Docbox for processing.