p3 setup