def access_token(self) -> Tuple[Union[bool, str], str]:
        """
        Make a request to the Luminar API.

        :return: Tuple[Union[bool, str], str]
            The access token (if successful) or False (if unsuccessful),
            and a message indicating the status of the
            request.
        """
        req_url = f"{self.base_url}/externalApi/v2/realm/{self.account_id}/token"
        response = None
        try:
            response = requests.post(
                req_url, headers=self.req_headers, data=self.payload, timeout=TIMEOUT
            )
            response.raise_for_status()
            return (
                response.json().get("access_token", False),
                "Luminar API Connected successfully",
            )
        except requests.HTTPError:
            if response is not None:
                return False, self.STATUS_MESSAGES.get(
                    response.status_code, "An error occurred"
                )
            return False, "An error occurred while making HTTP request"
        except Exception as err:
            return False, f"Failed to connect to Luminar API... Error is {err}"

        Make a request to the Luminar API.

        :return: Tuple[Union[bool, str], str]
            The access token (if successful) or False (if unsuccessful),
            and a message indicating the status of the
            request.
        
Solutions/CognyteLuminar/Data Connectors/CognyteLuminar/main.py