basic endpoint setup