In the meshIQ Platform versions 11 and later, sensors are available for querying in the Track user interface; no extra setup is required. See Viewing policy managers, policies, and sensors in the Track user interface.
Prior to version 11, to make AutoPilot sensor and policy data available to jKQL queries in XRay, AutoPilot must be set up as an external data source in XRay. Depending on the method with which your installation was performed, you may need to follow a procedure to set this up before proceeding to read the article linked above. See Setting up AutoPilot as an External Data Source for XRay for instructions.