sets up a provider option in the autoSearch plugin