> For the complete documentation index, see [llms.txt](https://docs.bayunsystems.com/bayuncoresdk-python/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bayunsystems.com/bayuncoresdk-python/groups/join-public-group.md).

# 6.3 Join Public Group

The `joinPublicGroup` function is used to join any public group of the organisation.

The function takes the following parameters :

* **sessionId** : Unique SessionId which is received in the authenticate function response.
* **groupId** : Group Id of the Public Group.

{% tabs %}
{% tab title="Python" %}

```python
response = bayunCore.joinPublicGroup("<sessionId>", "<groupId>")
sessionId = response.sessionId
```

{% endtab %}
{% endtabs %}
