sets endpoint for fog credential