Adding web sdk allocation

I am not able to add web sdk allocation. Similarly, how to add whitelisting and do we have to use only static key or is there any other key?