pre><code class="python">def handle_installation(self, request: BoltRequest) -&gt; BoltResponse:
    set_cookie_value: Optional[str] = None
    url = self.build_authorize_url(&#34;&#34;, request)
    if self.settings.state_validation_enabled is True:
        state = self.issue_new_state(request)
        url = self.build_authorize_url(state, request)
        set_cookie_value = self.settings.state_utils.build_set_cookie_for_new_state(state)

    if self.settings.install_page_rendering_enabled:
        html = 