[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [joinFaction](./bitburner.singularity.joinfaction.md)
## Singularity.joinFaction() method
SF4.2 - Join a faction.
Signature:
```typescript
joinFaction(faction: string): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| faction | string | Name of faction to join. |
Returns:
boolean
True if player joined the faction, and false otherwise.
## Remarks
RAM cost: 3 GB
This function will automatically accept an invitation from a faction and join it.