Setup the distribution on the backend.