Hi,
Below is a simple example how to create read only community called example1 which allows access from 192.168.0.0/24.
edit
set snmp community example1 authorization read-only
set snmp client-list allowed-snmp-clients 192.168.0.0/24
set snmp community example1 client-list-name allowed-snmp-clients
commit and-quit