# Connect Profile Button Block

This block outputs an HTML link to connect the WP profile with the Twitch profile. You can use block settings to alter its behavior.

***Connect text*** - this will allow you to assign text to the button when the Discord profile is not connected.

***Disconnect text*** - this will allow you to assign text to the button when the Discord profile is connected.

If text is not set, the default display will switch between `Connect Twitch Profile` and `Disconnect Twitch Profile` texts.

{% hint style="info" %}
If the WP user is not authorized, the block will output nothing.
{% endhint %}

***Styles*** - will allow you to add style to the button.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mykolapetrovych.gitbook.io/argus-wordpress-plugin/version-6.1.0/gutenberg-blocks/twitch/connect-profile-button-block.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
