Setup the backend env.