Hi Jairaj,
The shared Secret has to be configured on Ariba Buyer application. Please go to Core Admin->Integration Manager->Integration toolkit Security. Here you can select the method of Authentication and configure the shared secret and hit the save button.
Hope this helps.
Thanks,
Nadeem Ahmed