Set key base