Next you need:
Then the File gateway is ready to exchange messages with the NSD repository (see Working with the file gateway).