def METHOD_NAME(self, **kwargs):
    service_key = self.get_option("service_key", kwargs["project"])
    secret_field = get_secret_field_config(
        service_key, "PagerDuty's Sentry service Integration Key", include_prefix=True
    )
    secret_field.update({"name": "service_key", "label": "Service Key"})
    return [
        secret_field,
        {
            "name": "routes",
            "label": "Tag routing",
            "type": "textarea",
            "placeholder": "environment,production,KEY1\ndevice,Other,KEY2",
            "required": False,
            "help": (
                "Route each event to a different PagerDuty service key based "
                "on the event's tags. Each line should contain a tag, "
                "value, and service key separated by commas. The first "
                "line that matches a tag's key and value will send to that "
                "integration key instead of the main service key above."
            ),
        },
    ]