def METHOD_NAME(self, project, **kwargs):
    account_email = self.get_option("account_email", project)
    api_token = self.get_option("api_token", project)
    website_id = self.get_option("website_id", project)
    api_url = self.get_option("api_url", project)
    player_url = self.get_option("player_url", project)
    configurations = [
        {
            "name": "account_email",
            "label": "Account Email",
            "default": account_email,
            "type": "text",
            "placeholder": 'e.g. "user@example.com"',
            "required": True,
        },
        {
            "name": "api_token",
            "label": "API Token",
            "default": api_token,
            "type": "text",
            "help": "SessionStack generated API token.",
            "required": True,
        },
        {
            "name": "website_id",
            "label": "Website ID",
            "default": website_id,
            "type": "number",
            "help": "ID of the corresponding website in SessionStack.",
            "required": True,
        },
    ]
    if is_self_hosted():
        # We only support connecting to an on-premises SessionStack from a
        # self-hosted Sentry: https://docs.sessionstack.com/docs/sentry.
        configurations.extend(
            [
                {
                    "name": "api_url",
                    "label": "SessionStack API URL",
                    "default": api_url,
                    "type": "text",
                    "help": "URL to SessionStack's REST API. The default "
                    'value is "https://api.sessionstack.com/"',
                    "required": False,
                },
                {
                    "name": "player_url",
                    "label": "SessionStack Player URL",
                    "default": player_url,
                    "type": "text",
                    "help": "URL to SessionStack's session player. The default "
                    'value is "http://app.sessionstack.com/player/"',
                    "required": False,
                },
            ]
        )
    return configurations