You configure settings for X-Pack features in the elasticsearch.yml and kibana.yml configuration files.
elasticsearch.yml
kibana.yml